PowerShell Logo Small

Repair-VM



This is the built-in help made by Microsoft for the command 'Repair-VM', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' 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.

SYNOPSIS

Repairs one or more virtual machines.

SYNTAX


Repair-VM [-CompatibilityReport] <VMCompatibilityReport> [-ComputerName <String[]>] [-Passthru] [-Path <String>] [-SnapshotFilePath <String>]
[-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Repair-VM cmdlet repairs one or more virtual machines.



<

RELATED LINKS






REMARKS

<

Examples


Example 1

PS C:\>Repair-VM –CompatibilityReport $VMCompatReport –Path C:\Test



Changes the configuration path for a virtual machine compatibility report.




Example 2

PS C:\>Repair-VM –CompatibilityReport $VMCompatReport –SnapshotFilePath C:\Snapshots



Adds missing snapshots to a virtual machine compatibility report.