TLDR
Enter a command. For example: query, wsl, explorer, get childitem.

Get-ChildItem

 
List items in a directory. This command can only be used through PowerShell. More information: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem.
 
  • List all non-hidden items in the current directory:
     
    Get-ChildItem
     
  • List only directories in the current directory:
     
    Get-ChildItem -Directory
     
  • List only files in the current directory:
     
    Get-ChildItem -File
     
  • List items in the current directory, including hidden items:
     
    Get-ChildItem -Hidden
     
  • List items in a directory other than the current one:
     
    Get-ChildItem -Path {{path/to/directory}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.