HCX Replication Category
Cmdlets are usually implemented around resource operations. The four basic operations are CREATE, READ, UPDATE and DELETE. This set of operations is known as CRUD. Most of the cmdlets support CRUD which are respectively cmdlets that start with the New/Get/Set/Remove cmdlet verbs but they also may have additional operations.
Step 1: Retrieve a object by running a Get command
You can READ objects by using Get-HCXReplication cmdlet. See example below:
Get-HCXReplication
Step 2: Run commands from the CRUD group
You can CREATE objects by using New-HCXReplication cmdlet. See example below:New-HCXReplication -DestinationSite $myDestination -NetworkMapping $myNetworkMapping -RPOIntervalMinutes 30 -SnapshotIntervalMinutes 180 -SnapshotNumber 3 -SourceSite $mySourceSite -TargetComputeContainer $myTargetComputeContainer -TargetDataCenter $myTargetDataCenter -TargetDatastore $myTargetDatastore -VM $myVm
Set-HCXReplication -ForceSync -Replication $myReplication
You can REMOVE objects by using Remove-HCXReplication cmdlet.
Step 3: Explore More Related Commands:
Get-HCXReplicationSnapshot | This cmdlet retrieves a list of HCX replication snapshots. |
Resume-HCXReplication | This cmdlet resumes an HCX replication. |
Start-HCXReplication | This cmdlet starts an HCX replication. |
Suspend-HCXReplication | This cmdlet suspends an existing HCX replication. |
Test-HCXReplication | This cmdlet validates an HCX replication request. |