How Can We Help?

Categories

Use PowerShell to Show Hidden Files

You are here:
< Back

Use the Get-ChildItem cmdlet, and add the –Hidden and the –File switches:

  • Get-ChildItem -Hidden -File

List all the directories and files hidden for C: drive. (recursive)

  • Get-ChildItem C:\ -Hidden -Recurse