PowerShell: File Properties
What is File Property
File Property store info such as file name, file name extension, access time, etc. including File Attributes.
List of All Possible File Properties
- Attributes
- CreationTime
- CreationTimeUtc
- Directory
- DirectoryName
- Exists
- Extension
- FullName
- IsReadOnly
- LastAccessTime
- LastAccessTimeUtc
- LastWriteTime
- LastWriteTimeUtc
- Length
- LinkTarget
- Name
- UnixFileMode
List a File's Properties
Get-Item "~/xtest.txt" | Get-Member -MemberType Property
Get-Item "~/xtest.txt"
returns a object of type
System.IO.FileInfo

Show File Property Values
Get-Item "~/xtest.txt" | Select-Object -Property *

PowerShell. Date Time
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)