PowerTip: Display Only Hidden Files and Folders in PowerShell

Doctor Scripto

Dr 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

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment