Stops failover of a virtual machine.
Stop-VMFailover [-VMName] <String> [-AsJob] [-ComputerName <String>] [-PassThru] [<CommonParameters>]
Stop-VMFailover [-VM] <VirtualMachine> [-AsJob] [-PassThru] [<CommonParameters>]
Detailed DescriptionThe Stop-VMFailover cmdlet stops failover of a virtual machine. If the virtual machine is running, this cmdlet turns the virtual machine off and cancels failover. For a test failover, this cmdlet stops the test failover and deletes the test virtual machine. For a planned failover that has been started on a primary virtual machine, this cmdlet cancels that action and restarts replication, which allows you to start the primary virtual machine.
Runs the cmdlet as a background job.
|Accept pipeline input?||false|
|Accept wildcard characters?||false|
Specifies one or more hosts on which to cancel the failover of a virtual machine. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer