Afaik the Test Failover terminates the primary VM, and the system will start the secondary VM and create a new secondary VM.
You can just use Stop-VM, eventually with the Kill switch, to terminate the primary VM.
And the FT system will take care of the rest.
------------------------------
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
------------------------------
Original Message:
Sent: Aug 29, 2024 01:46 AM
From: Runnel
Subject: Change primary Fault Tolerance VM
Hello
I need a solution to change the primary Fault Tolerance VM with Powershell.
At the vSphere Web GUI I can use the Test Failover function.
%MCEPASTEBIN%%MCEPASTEBIN%
How can I trigger this with Powershell / Powercli
Kind Reguards
Matthias