PowerShell: Show File Attributes
Meaning of Mode in dir Output
Common attributes are displayed in the first column of output of Get-ChildItem
Meaning of the mode letters:
l
(link. Link points to another file) ord
(directory).a
(archive) → marked for backup. (file been modified since last backup)r
(read-only)h
(hidden)s
(system)
Force show hidden files, system files, read-only files
Show All Attributes of a File or Dir
# list all attributes of a file/dir Get-ItemProperty '.\My Music\' -Name Attributes