get-childitem
List items in a directory. tldr-pages
On Windows
Windows
List items in a directory. Note: This command can only be used through PowerShell.
List all non-hidden items in the current directory
Get-ChildItemIdentifyList only directories in the current directory
Get-ChildItem -DirectoryIdentifyList only files in the current directory
Get-ChildItem -FileIdentifyList items in the current directory, including hidden items
Get-ChildItem -HiddenIdentifyList items in a directory other than the current one
Get-ChildItem -Path path\to\directoryIdentify