SeviceControl 6.6.0 remote install via Powershell 7.5

Good, Afternoon

Has anyone done a successful remote install for ServiceControl Instances using powershell 7.5?

My team is working on a way to remotely install and create SeviceControl 6.6.0 instances. We run a deployment script that installs about of modules and runs various scripts. We can create a Service Control instance flawlessly when running the commands locally. It seems we are having the problem when trying to create Service Control instance when invoking a PowerShell 7.5 terminal on the client server. It seems there is a problem with creating the instance remotely.

Here is the same code ran locally on the same client servers. The error seems to only appear when trying to create the instances remotely.

This is the actual error -

We noticed you also raised a support ticket. We are investigating. We are going to cross-post the solution here once it is found.

Unable to install ServiceControl error instance remotely using powershell New-ServiceControlInstance · Issue #4970 · Particular/ServiceControl · GitHub has been raised to track this issue

@PhilBastian @SzymonPobiega Thanks guys for looking into the issue! We wont be able to upgrade until then.

I was able to successfully get the RavenDB initialised by using powershell remoting via SSH rather than WSMan

Invoke-Command -HostName user@MyHost -ScriptBlock { C:\temp\installSC.ps1 }

where installSC.ps1 is the script containing the Install-Module, Import-Module and New-ServiceControlInstance commands