PowerTip: Use PowerShell to Show Hidden Files


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

Comments (0)

Skip to main content