Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Get-ChildItem

Get-ChildItem - 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 items and child items in one or more specified locations.

Get-ChildItem [[-Path] <string[]>] [[-Filter] <string>] [-Exclude <string[]>] [-Force] [-Include <string[]>] [-Name
    ] [-Recurse] [-UseTransaction] [<CommonParameters>]
    Get-ChildItem [-LiteralPath] <string[]> [[-Filter] <string>] [-Exclude <string[]>] [-Force] [-Include <string[]>] [
    -Name] [-Recurse] [-UseTransaction] [<CommonParameters>]

The Get-ChildItem cmdlet gets the items in one or more specified locations. If the item is a container, it gets the
     items inside the container, known as child items. You can use the Recurse parameter to get items in all child cont
    A location can be a file system location, such as a directory, or a location exposed by another provider, such as a
     registry hive or a certificate store.