CmdID / PowerShell / Cmdlets / Enable
Enable-VMReplication
Enables replication of a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 27 parameters Its page in the reference
Parameters
Show its 27 parameters
-AllowedPrimaryServer, -AllowedPSWhen you use the AsReplica parameter to specify a virtual machine as a replica virtual machine, this parameter determines which primary servers can send replication to the replica virtual machine.-AsJobRuns the cmdlet as a background job.-AsReplicaSpecifies that the virtual machine is a replica virtual machine, enabling it to be used as the source for the initial replication of the primary virtual machine.-AuthenticationType, -AuthTypeSpecifies the authentication type to use for virtual machine replication, either Kerberos or Certificate.-AutoResynchronizeEnabled, -AutoResyncEnables replicating virtual machines that require resynchronization to be resynchronized automatically.-AutoResynchronizeIntervalEnd, -AutoResyncEndSpecifies the end of the time period in which you want resynchronization to start automatically.-AutoResynchronizeIntervalStart, -AutoResyncStartSpecifies the start of the time period in which you want resynchronization to start automatically.-BypassProxyServerSpecifies whether to bypass a proxy server while replicating data to the Replica server.-CertificateThumbprint, -Thumbprint, -CertSpecifies the certificate to use for mutual authentication of the replication data.-CimSessionRuns the cmdlet in a remote session or on a remote computer.-CompressionEnabledSpecifies whether to compress replication data for this virtual machine when it is sent over the network.-ComputerNameSpecifies one or more Hyper-V hosts that have the virtual machines for which you want to enable replication.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-EnableWriteOrderPreservationAcrossDisksDetermines whether all virtual hard disks selected for replication are replicated to the same point in time.-ExcludedVhdSpecifies one or more virtual hard disks to exclude from replication (for example, a virtual hard disk dedicated for the paging file).-ExcludedVhdPathSpecifies the fully qualified path names to the virtual hard disks to exclude from replication.-PassthruReturns an object representing the item with which you are working.-RecoveryHistory, -RecHistSpecifies whether to store additional recovery points on the replica virtual machine.-ReplicaServerName, -ReplicaServerSpecifies the name of the Replica server to which this virtual machine will be replicated.-ReplicaServerPort, -ReplicaPortSpecifies the port on the Replica server to use for replication traffic.-ReplicateHostKvpItemsSpecifies whether to replicate host-only key value pairs (KVP) for this virtual machine.-ReplicationFrequencySec, -RepFreqSpecifies the frequency, in seconds, at which Hyper-V replicates changes to the Replica server.-VMSpecifies the virtual machine you want to configure for replication.-VMName, -NameSpecifies the name of the virtual machine you want to configure for replication.-VSSSnapshotFrequencyHour, -VSSFreqSpecifies the frequency, in hours, at which Volume Shadow Copy Service (VSS) performs a snapshot backup of the virtual machines.-WhatIf, -wiShows what would happen if the cmdlet runs.