PowerTip: Use PowerShell to Show Hidden Files

Doctor Scripto

Summary: Use Windows PowerShell to display only hidden files.

Hey, Scripting Guy! Question How can I see hidden files by using Windows PowerShell 4.0?

Hey, Scripting Guy! Answer Use the Get-ChildItem cmdlet, and add the –Hidden and the –File switches:

Get-ChildItem -Hidden -File


Discussion is closed.

Feedback usabilla icon