I'm trying to develop some tool in C# which is using PowerShell. However, I have to use different powershell then this one which is used by default when creating Runspace, I mean this one:
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
Is it possible to force Runspace to use different (customized) version of powershell?
The problem with the standard version of powershell doesn't have many commands, such like "Open-Device" and "Close-Device".
Thank you in advance