This is the built-in help made by Microsoft for the command 'Repair-VirtualDisk', in PowerShell version 4 - as retrieved from
Windows version 'Microsoft Windows 8.1 Enterprise' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Performs repairs on a virtual disk that is unhealthy.
Repair-VirtualDisk [-FriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Repair-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Repair-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -Name <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Repair-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -UniqueId <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
The Repair-VirtualDisk cmdlet performs repairs on a virtual disk that is unhealthy. The actual tasks performed are vendor-specific based on implementation in a Storag
e Management provider.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=307023
Where-Object
Connect-VirtualDisk
Disconnect-VirtualDisk
Get-VirtualDisk
Hide-VirtualDisk
New-VirtualDisk
Remove-VirtualDisk
Resize-VirtualDisk
Set-VirtualDisk
Show-VirtualDisk
<
EXAMPLE 1
PS C:\>Repair-VirtualDisk -FriendlyName Space05
This example repairs the virtual disk named Space05 which is currently unhealthy.
EXAMPLE 2
PS C:\>Get-VirtualDisk | Where-Object –FilterScript {$_.HealthStatus -Eq "Unhealthy"} | Repair-VirtualDisk
This example gets all of the unhealthy VirtualDisk objects, and runs repairs on all of them serially.