PowerShell

Get-ChildItem

SafeList items (PS)

Get-ChildItem -Recurse

Lists files/folders as objects; aliased as dir and ls.

Examples

  • Get-ChildItem -Recurse -Filter *.logFind .log recursively

Syntax

Get-ChildItem [path] [-Recurse] [-Filter *.log]

Before you run it

Read-only.

Related commands

  • dirList directory contents
  • lsList directory

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store