Hyper-V replica monitor

most of the VMs are running under Windows Server 2012R2

Did you test the invoke-command against a server 2012R2?