It does not work for some reason. I do not get any output errors issuing the command. I end up having to manually connect with Veeam GUI and right click the running/active Replica and selecting "Undo Failover" then acknowledging it will discard any changes made since the last restore point.
Does anyone know why my Stop-VBRReplicaFailover line wouldn't work. Has anyone used it like this?
Thanks v.Eremin. I will separate it and try again.
Hmm...regarding the "Force" param. I actually don't tick the "Force" checkbox when doing this in the GUI - just realized this.
I can't quite understand the description in the cmdlet help page. It actually sounds wrong unless I not reading it right.
The force switch refers to "forcing undo failover" which is described here. If you forcing undo failover is not needed, disregard the given cmdlet switch. Thanks.