Powershell: MID Server isn't Windows. Unable to run ScriptRunner.

dini1
Tera Contributor

I have a VM where Mid Server is installed. I have installed AD on the same VM. I used the windows activity - 'Change Service State' to start/stop a Windows Service and 'Create AD Object' to create an user in AD. Whenever I raise a request (the workflow has the corresponding activities), I see a message 'Powershell: MID Server isn't Windows. Unable to run ScriptRunner.' in that particular activity. Can someone please let me know what it means?

Am I correct in understanding that MID Server cannot be a VM or I cannot carry out any operation in a MID Server?

5 REPLIES 5

Dave Smith1
ServiceNow Employee
ServiceNow Employee

Am I correct in understanding that MID Server cannot be a VM or I cannot carry out any operation in a MID Server?


Definitely not the first one - we run them under VMs when we do Discovery courses.



I'd reckon the latter. Do you have the right version of PowerShell installed?   Despite the odd message, it sounds more like some Windows components are missing.



What OS is your Windows VM?