Powershell StarwindX doesn't support current apartment
Posted: Mon Mar 26, 2018 5:53 pm
Hi
I have written a power shell script that is scheduled to run before a hyperv cluster-aware updating. The script runs correctly when I start it manually, but when the cluster-aware service runs the script I get an error StarwindX doesn't support current apartment. You need to run this script with -STA switch to use StarwindX.
Any ideas?
thanks
I have written a power shell script that is scheduled to run before a hyperv cluster-aware updating. The script runs correctly when I start it manually, but when the cluster-aware service runs the script I get an error StarwindX doesn't support current apartment. You need to run this script with -STA switch to use StarwindX.
Any ideas?
thanks