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 |