Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Get-ItemProperty

Get-ItemProperty - Powershell 2.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.


Short description
Gets the properties of a specified item.

Get-ItemProperty [-LiteralPath] <string[]> [[-Name] <string[]>] [-Credential <PSCredential>] [-Exclude <string[]>] 
[-Filter <string>] [-Include <string[]>] [-UseTransaction] [<CommonParameters>]

Get-ItemProperty [-Path] <string[]> [[-Name] <string[]>] [-Credential <PSCredential>] [-Exclude <string[]>] [-Filte
r <string>] [-Include <string[]>] [-UseTransaction] [<CommonParameters>]

The Get-ItemProperty cmdlet gets the properties of the specified items. For example, you can use Get-ItemProperty t
o get the value of the LastAccessTime property of a file object. You can also use Get-ItemProperty to view registry
 entries and their values.