PowerTip: Display Only Hidden Files and Folders in PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to display only hidden files and folders.

Hey, Scripting Guy! Question How can I use Windows PowerShell 3.0 to display only hidden files and folders?

Hey, Scripting Guy! Answer Use the –Hidden parameter from Get-ChildItem:

Get-ChildItem -Hidden


Comments are closed. Login to edit/delete your existing comments

Feedback usabilla icon