September 16th, 2013

PowerTip: Display Only Hidden Files and Folders in PowerShell

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback