Search notes:
System.IO.FileAttributes (enum)
System.IO.FileAttributes is an enumeration that lists the possible attributes that can be set in files and/or directories.
| 1 | ReadOnly |
| 2 | Hidden |
| 4 | System |
| 16 | Directory |
| 32 | Archive |
| 64 | Device |
| 128 | Normal |
| 256 | Temporary |
| 512 | SparseFile |
| 1024 | ReparsePoint |
| 2048 | Compressed |
| 4096 | Offline |
| 8192 | NotContentIndexed |
| 16384 | Encrypted |
| 32768 | IntegrityStream |
| 131072 | NoScrubData |
This list was created with the following
PowerShell statements:
$enumValues = [System.Enum]::GetValues('System.IO.FileAttributes')
$enumValues | foreach-object {
'{0,6} {1}' -f $_.value__, $_.ToString()
}
See also
get-childItem -attributes directory