PowerShell Logo Small

Remove-VMReplication



This is the built-in help made by Microsoft for the command 'Remove-VMReplication', 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

Removes the replication relationship of a virtual machine.

SYNTAX


Remove-VMReplication [-VMName] <String[]> [-ComputerName <String[]>] [-PassThru] [<CommonParameters>]
Remove-VMReplication [-VM] <VirtualMachine[]> [-PassThru] [<CommonParameters>]
Remove-VMReplication [-VMReplication] <VMReplication[]> [-PassThru] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-VMReplication removes the replication relationship of a virtual machine. Replication must be removed independently from both the
primary and Replica virtual machines. Removing replication on a Replica virtual machine does not delete the Replica virtual machine.



<

RELATED LINKS






REMARKS

<

Examples


Example 1

PS C:\>Remove-VMReplication VM01



This example removes the replication relationship of virtual machine VM01.




Example 2

PS C:\>Remove-VMReplication *



This example removes the replication relationships from all replica-enabled virtual machines on the local Hyper-V host.