Previous
Left Arrow
Using PowerShell to get a list of all cmdlets available on your computer or server
Current Code Entry
Go Back To Code List
[PowerShell]
  • Using PowerShell to check the Health and Performance of a hard drive on a Remote Server

    Article Entry Date: March 4,2026 @ 08:34:35 / Last Updated On: March 4,2026 @ 08:34:35
Using PowerShell to check the Health and Performance of a hard drive on a Remote Server is essential when it comes to maintaining a large server farm.
When it comes to hard disks and their performance, we have to stay on top of these servers, whether they are physical or virtual machines.

Using the following PowerShell Script, we can test to see if the drive is healthy or needs replacing on the remote server or computer.


Output
Drive : G:
Label : File Server
Health : Healthy
Operational : OK
Size_GB : 400
Free_GB : 375.04
Access : Fixed
PSComputerName : Core02
RunspaceId : 18040619-6d66-4bd8-903d-b774356366ef