CmdID / PowerShell / Cmdlets / Set
Set-VMReplication
Modifies the replication settings of a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 32 parameters Its page in the reference
Parameters
Show its 32 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 replication data sent over the network is to be compressed.-ComputerNameSpecifies one or more Hyper-V hosts on which replication is to be enabled.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-DisableVSSSnapshotReplication, -DisableVSSSpecifies whether to replicate volume shadow copy service (VSS) snapshots.-EnableWriteOrderPreservationAcrossDisksDetermines whether all virtual hard disks selected for replication are replicated to the same point in time.-InitialReplicationStartTime, -IRTimeSpecifies the time to start the initial replication, when scheduling initial replication to occur later.-PassthruSpecifies that a VMReplication object is to be passed through to the pipeline representing the replication configuration to be set.-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.-ReplicatedDiskPathsSpecifies the fully qualified path names of all the virtual hard disks to include for replication.-ReplicatedDisksSpecifies all virtual hard disks to include for replication.-ReplicationFrequencySec, -RepFreqSpecifies the frequency, in seconds, at which Hyper-V replicates changes to the Replica server.-ReverseReverses the replication of the virtual machine, switching it from a primary virtual machine to a Replica virtual machine, or from a Replica virtual machine to a primary virtual machine.-UseBackupSpecifies that a restored copy of the virtual machine on the Replica server is to be used as the source of the initial replication.-VMSpecifies the virtual machine for which the replication configuration is to be set.-VMName, -NameSpecifies the name of the virtual machine for which the replication configuration is to be set.-VMReplicationSpecifies a virtual machine replication object for which the configuration is to be set.-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.