PowerShell: Show File Attributes

By Xah Lee. Date: . Last updated: .

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
PowerShell dir output, showing the Mode column.

Meaning of the mode letters:

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
show file attributes 2023-12-28

PowerShell: File Attributes

Microsoft Windows File Alias, Juncture