Windows PowerShell is a powerful utility that comes preinstalled on Windows 10. Microsoft has been pushing it difficult to expire useful for developers together with information technology professionals. Windows PowerShell tin terminate too survive used to cope difficult stimulate together with SSDs. In this post, nosotros volition banking corporation check how to purpose PowerShell to notice information almost any degree of difficult drive.
Use PowerShell to notice information almost difficult drive
There are ii things that you lot tin terminate create using PowerShell to get physical disk information, including series number, disk size, costless space, together with more.
- Get General Information.
- Retrieve detailed information.
The ascendency plant alongside all the storage devices connected to your computer. You tin terminate position the type of device past times looking at the Device type column. The column displays an integer that corresponds to the type of disk stimulate the logical disk represents.
- 0 – Unknown.
- 1 – No Root directory.
- 2 – Removable Disk.
- 3 – Local Disk.
- 4 – Network Drive.
- 5 – Compact Disc.
- 6 – RAM Disk.
1] Get General Information
Open Windows PowerShell together with execute the next ascendency to instruct full general information almost the connected difficult drives:
get-wmiobject -class win32_logicaldisk
The results volition display DeviceID, DriveType, ProviderName, FreeSpace, Size, VolumeName.
2] Retrieve detailed information
Open Windows PowerShell ane time again, together with type inwards the next code together with striking Enter:
wmic diskdrive instruct <PARAMETERS>
The next are the parameters, together with inwards representative of multiple parameters, they should survive separated past times a comma:
The number volition survive sorted, a tabular shape of the requested information within the Windows PowerShell ascendency line.
You tin terminate read to a greater extent than almost the commands on docs.microsoft.com.