PowerShell: Show File Attributes
Meaning of Mode in dir Output
Common attributes are displayed in the first column of output of Get-ChildItem
![PowerShell file mode 2022-02-22](i/PowerShell_file_mode_2022-02-22.png)
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
![show file attributes 2023-12-28](i/show_file_attributes_2023-12-28.png)