Get-Item

Gets the item at the specified location

Crear una entrada del Registro desde PowerShell que permita ejecutar siempre un programa al iniciar la sesión de un usuario

Windows PowerShell aliases

 

File System Security PowerShell Module 3.2.3

Source are available on CodePlex https://ntfssecurity.codeplex.com/ Download https://gallery.technet.microsoft.com/scriptcenter/1abd77a5-9c0b-4a2b-acef-90dbb2b84e85/file/48905/1/NTFSSecurity%201.3.zip Introduction Managing permissions with PowerShell is only a bit easier than in VBS or the command line as there are no cmdlets for most day-to-day tasks like getting a permission report or adding permission to an item. PowerShell only offers Get-Acl and Set-Acl but everything in between getting and setting the ACL is missing. This module closes the gap. Documentation For documentation plese refer to: NTFSSecurity Tutorial 1 – Getting, adding and removing permissions NTFSSecurity Tutorial 2 – Managing NTFS Inheritance and Using Privileges Comments, feature requests and bug reports are very […]

Windows PowerShell aliases

 

Ver información en el Registro de Windows sobre dispositivos conectados por USB

 

Retrieving a Specific Item

The Get-Item cmdlet makes it easy to retrieve a specific item (such as a file, a folder, or a registry key). Why would you want to do that? Well, for one thing, it makes it very easy to retrieve the properties of those items. For example, suppose you’d like to know the last time someone accessed the C:\scripts folder. Here’s a command that will retrieve that information:

  In essence, we’re using Get-Item to create an object reference to C:\Scripts. That’s the reason for the unusual syntax: the command itself – Get-Item c:\scripts – is enclosed in parentheses, with a […]