Force the service (created with Publish-UDDashboard) to use powershell 6/7

hi,
is it possible to force UD (when run as a service) to use powershell 6 or 7?
Something like

Publish-UDDashboard -PathToPS "C:\Program Files\PowerShell\7-preview\pwsh.exe"
1 Like

Not at the moment. Please file an issue. The service is actually compiled against the Windows PowerShell assemblies so there isn’t currently a way to switch to 6\7. I think the service should either start up pwsh.exe or powershell.exe itself or produce 2 versions of the service. One for 6\7 and one for Windows PowerShell.