Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

Stops an ongoing initial replication.

Syntax

Stop-VMInitialReplication [-VMName] <String[]> [-ComputerName <String[]>] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]

Stop-VMInitialReplication [-VM] <VirtualMachine[]> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]

Stop-VMInitialReplication [-VMReplication] <VMReplication[]> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Stop-VMInitialReplication cmdlet stops an ongoing initial replication that uses either a virtual machine restored from backup or the network. It does not stop an initial replication that uses external media. For an initial replication that uses external media, you can use this cmdlet to stop the export, which returns the virtual machine to a pending state. After an export is finished, the initial replication cannot be stopped.

Parameters

-ComputerName [<String[]>]

Specifies one or more Hyper-V hosts on which an ongoing initial replication is to be stopped. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer