Powershell StarwindX doesn't support current apartment

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
chell
Posts: 48
Joined: Mon Dec 11, 2017 1:19 am

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
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Tue Mar 27, 2018 1:32 pm

Check this blog article. I believe it is definitely what you are trying to achieve.
https://www.starwindsoftware.com/blog/w ... e-updating
Post Reply