Retrieves the child items of the specified location(s) in a drive.
Snap-In: Microsoft.PowerShell.Management
Syntax:
Get-ChildItem [
[-Path] <String[]>] [ [-Filter] <String>] [-Include <String[]>] [-Exclude <String[]>] [-Recurse] [-Force] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Get-ChildItem [
[-Path] <String[]>] [ [-Filter] <String>] [-Include <String[]>] [-Exclude <String[]>] [-Recurse] [-Force] [-Name] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
Gets the child item(s) of the specified path using the appropriate cmdlet provider. Items are represented as a CLR type that defines the location at a particular path. If -Names is specified only the names of the item(s) are returned.