Windows command display file properties
Note: while pulling multiple properties, separate them with a comma but no space in between. Skip to content. Home Articles About Contact. On a side note, We can also run the same command on client OS like Windows 7 or 10 There are 2 ways to do it: Windows Command Line PowerShell Windows Command Line To run the command, open the command prompt with elevated privilege run as admin and run the following command.
To list the providers available in your session, type Get-PSProvider. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Get-Item Property Reference Is this page helpful?
Please rate your experience Yes No. Any additional feedback? Module: Microsoft. Gets the properties of a specified item. Note This parameter is not supported by any providers installed with PowerShell.
Specifies the name of the property or properties to retrieve. Specifies the path to the item or items. Submit and view feedback for This product This page. View all page feedback.
In this article. The General tab of the Properties dialog box will provide you with information such as the full path to the file or folder, its size, what application is configured to open it, and the date it was created, last modified, and accessed. You will also see check boxes at the bottom of the window where you can make a file Read-only or Hidden. A Read-only file can be opened to see its contents, but it cannot be modified any changes that you make to it cannot be saved , A Hidden file will not appear when you browse the contents of the folder where it is stored using Explorer, unless you set up Explorer to display Hidden files in which case they will be displayed in a lighter color than regular files.
You can click on this button to enable compression for the file or folder, which will make it take up less space on your hard drive. If you are accessing the properties for a file, you will also see a Change button at the top of the window.