PowerShell: List Files with Specific Attribute
List files that have certain attributes
# list file or dir with attribute hidden or system dir -Attributes hidden,system

You can combine any of the following attribute properties:
Archive
Compressed
Device
Directory
Encrypted
Hidden
IntegrityStream
Normal
NoScrubData
NotContentIndexed
Offline
ReadOnly
ReparsePoint
SparseFile
System
Temporary
Using the following operators:
!
(NOT)+
(AND),
(OR)
🛑 WARNING: No space allowed, except after comma.
# list files that have certain attributes Get-ChildItem -Attributes !Directory+!System+Encrypted, !Directory+!System+Compressed
PowerShell. File Properties, Attributes, Permission
- PowerShell: File Properties
- PowerShell: File Attributes
- PowerShell: List All Possible File Attribute Values
- PowerShell: Show a File's Attributes
- PowerShell: Show Hidden Files
- PowerShell: List Files with Specific Attribute
- PowerShell: Set a File's Attributes
- PowerShell: Set File Read Only Attribute
- PowerShell: File Attributes Object Type
- PowerShell: Change File Owner Perm (ACL)