Powershell Tip #75: List only hidden files in a folder

By | November 22, 2015

Tip: You can list only the hidden files of a folder:

list-only-hidden-files-powershell

!D is used to exclude directories and +H is used to include hidden files.

list-files-io-attributes-powershell


previous-buttonnext-button

2 thoughts on “Powershell Tip #75: List only hidden files in a folder

  1. Pingback: Powershell Tip #74: Empty the recycle bin | Powershell Guru

  2. Pingback: Powershell Tip #76: Force a user to change password | Powershell Guru

Leave a Reply

Your email address will not be published. Required fields are marked *