[Service Fabric] Connecting to a remote Azure Service Fabric cluster using PowerShell
If you have struggled with getting the syntax and parameters correct on the Connect-ServiceFabricCluster PowerShell cmdlet like I have, I've decided to post the command with associated parameters that I know works every time.
This command is typically used to test connectivity from your personal machine to a .X509 secured cluster in Azure.
Connect-ServiceFabricCluster -ConnectionEndpoint $ClusterName -KeepAliveIntervalInSec 10 ` -X509Credential `
-ServerCertThumbprint $CertThumbprint `
-FindType FindByThumbprint `
-FindValue $CertThumbprint `
-StoreLocation CurrentUser `
Upon successful connection, you should see something similar to
Hope this helps you in your work with Azure Service Fabric!