This is the built-in help made by Microsoft for the command 'Complete-VMFailover', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 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.
Completes a virtual machine’s failover process on the Replica server. Removes all recovery points on a failed over virtual machine.
Complete-VMFailover [-VMName] <String[]> [-ComputerName <String[]>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
Complete-VMFailover [-VM] <VirtualMachine[]> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
The Complete-VMFailover cmdlet completes a virtual machine’s failover process on the Replica server. The recovery point, on which the virtual machine is failed over, is
committed and all other recovery points are removed. Failover cannot be canceled after the recovery points are removed.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=306822
<
Example 1
PS C:\>Complete-VMFailover VM01
This command completes the failover process of a virtual machine named VM01, thereby deleting all other recovery points on the server.
Example 2
PS C:\>Complete-VMFailover *
This command completes the failover process of all virtual machines on the local host for which the failover process has been started.