Get-ChildItem

noun

say it: “GET CHYLD EYE-tum” /ɡɛt ˈtʃaɪld ˈaɪtəm/

The PowerShell command that lists the folders and files inside a folder, with each one's mode, last change, size and name.

What is Get-ChildItem?

Get-ChildItem lists the files and folders in a location, like ls or dir (which are aliases for it).

Get-ChildItem C:\Projects
Get-ChildItem -Recurse -Filter *.log

In a sentence

  • “Get-ChildItem showed three day folders and two files in the trip folder.”
  • “Add -Force to Get-ChildItem and the hidden files show up too.”

Level: Novice · More PowerShell terms at this level

Updated