Link to home
Start Free TrialLog in
Avatar of wasabi3689
wasabi3689Flag for United States of America

asked on

How to auto failover and back by powershell script?

I have MSSQL 2016 Always-On availability group. I want to use powershell script to run the failover and fail back from N1 to N1 and from N2 to N1 without using SSMS

How to do that?
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Solution provided.