What is Get-ChildItem cmdlet in PowerShell?


Get-ChildItem (alias: dir) in Powershell is used to get the items inside the container. This container could be the Folders, Registry or the certificate store. You can retrieve items from one or more specified locations. This command works similar to the dir in command prompt but PowerShell provides a modern way to extract the data.

Updated on: 22-Jan-2020

770 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements