I am running on Windows Server 2016 Datacenter and I am not able to get the Service Fabric commandlets like Connect-ServiceFabricCluster.
Documentation says : The Service Fabric PowerShell module is installed with the Service Fabric SDK, runtime, and tools.
What else can I try? It is working in other system where I am using Windows 10. Can I export the module from another system where it is working and import it here?
In my case, I was using PowerShell 7.x as my default version of PowerShell. Apparently, the ServiceFabric PowerShell module is only partly compatible with that version, so it is not loaded automatically. Once I used PowerShell 5.x to administer ServiceFabric, the module loaded upon PowerShell start and was ready to be used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With