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

Popular posts from this blog

The System could not log you on. The revocation status of the smart card certificate used for authentication could not be determined

Unblock gemalto .net smart cards using Gemalto response calculator

How to check who killed process in windows