PowerShell script exchange
Post Reply
tsightler
VP, Product Management
Posts: 6012
Liked: 2843 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Commit Failover

Post by tsightler »

Is there any method to commit failover via Veeam Powershell. Starting a failover, failback, and committing a failback is are fairly easy, but I don't see a Powershell method to perform the equivalent of a commit failover in the GUI. I can likely do all the steps manually, but it seems like this function should be exposed via Powershell somewhere so I wanted to make sure I wasn't overlooking it.
nefes
Veeam Software
Posts: 643
Liked: 162 times
Joined: Dec 10, 2012 8:44 am
Full Name: Nikita Efes
Contact:

Re: Commit Failover

Post by nefes »

I believe

Code: Select all

Start-VBRViReplicaFailover -Definite
is what you are looking for, but I haven't had a chance to check it by myself.
tsightler
VP, Product Management
Posts: 6012
Liked: 2843 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Commit Failover

Post by tsightler »

Yep, that's probably it, I'll give it a spin. My script was using the non-hypervisor specific cmdlets that don't appear to have this option. Actually, I don't see any mention of the current hypervisor specific failover cmdlets in the V7 Powershell users guide.
Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests