How to get Hyper-v machines replication status when hyper v replica is enabled
When we enable the Hyper V replica on Windows 2012, 2012 R or 2016 Hyper V servers, to get the details about the hyper-v machine replication is easy from PowerShell as compared to Hyper V console. You can use below command from PowerShell to get the details.
Run PowerShell as admin.
Run below command
Get-VMReplication
It will show the details the following details by default.
Name, State, Health, Mode, Frequency, Primary Server, ReplicaServer, Replication port, Auth Type and relationship.
We can use the same command with pipe fl * to get the complete details.
Get-VMReplication | fl *
The Same command can run from a remote machine using –Computername parameter.
Get-VMReplication –Computername “Severname or IP”
.
Comments
Post a Comment