The PowerShell script failed to execute - ServiceFabric
问题 I'm new to Service Fabric, and I have difficulties deploying a Service Fabric project to my local cluster. I keep getting the error: The PowerShell script failed to execute I search for this error, and I read that Visual Studio must be opened as Administrator. I run it as Administrator, so this is not a problem. I run this command in PowerShell Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser but it does not resolve the problem. I keep getting the error with