PowerShell Logo Small

Remove-VMReplication



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

SYNOPSIS

Removes the replication relationship of a virtual machine.

SYNTAX


Remove-VMReplication [-VMName] <String[]> [-ComputerName <String[]>] [-PassThru] [-ReplicationRelationshipType <VMReplicationRelationshipType>] [-Confirm] [-WhatIf]
[<CommonParameters>]
Remove-VMReplication [-VM] <VirtualMachine[]> [-PassThru] [-ReplicationRelationshipType <VMReplicationRelationshipType>] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-VMReplication [-VMReplication] <VMReplication[]> [-PassThru] [-Confirm] [-WhatIf] [<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


Online Version: http://go.microsoft.com/fwlink/?LinkID=306910

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.