Utilities and Commands for Troubleshooting Storage Spaces
The following utilities and commands (PS cmdlets) are available to assist with troubleshooting Storage Spaces:
To list unhealthy storage spaces, use the following PS cmdlet:
Get-VirtualDisk | Where-Object {$_.HealthStatus –ne “Healthy”}
To repair a Virtual Disk, use the following PS cmdlet:
Repair-VirtualDisk -FriendlyName
To list unhealthy storage pools, use the following PS cmdlet:
Get-StoragePool | Where-Object {$_.HealthStatus –ne “Healthy”}
To list unhealthy physical disks, use the following PS cmdlet:
Get-PhysicalDisk | Where-object {$_HealthStatus –ne “Healthy”}
To remove (or Reset) a failed physical disk from a storage pool, us the following PS cmdlet:
Reset-PhysicalDisk –FriendlyName
Get-StoragePool | Where-Object {$_HealthStatus –ne “Healthy”}
shoud be
Get-StoragePool | Where-Object {$_.HealthStatus –ne “Healthy”}