I am trying to use:
Set-SqlAvailabilityReplica -AvailabilityMode “SynchronousCommit” -FailoverMode “Manual” ` -Path “SQLSERVER:\SQL\xxx\DEFAULT\AvailabilityGroups\xxx\AvailabilityReplicas”
With an instance name meaning at the end sqlserver\instancename
Every attempt to put quotes, or encode the value or create a variable wont work
Anyone can help me find out how i can do this?
With a sql server no instance it works