Powershell and Hyper-V functions to check the replication status of VMs