Where is property: mid.sa.prefer_powershell

Todd36
Mega Expert

The documentation is rather confusing for what is default:

<https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/product/mid-server/reference/mid-server-parameters.html> says:
mid.sa.prefer_powershell
Enables MID Server to use PowerShell Remoting.
Type: true | false
Default value: false

Yet <https://hi.service-now.com/kb_view.do?sysparm_article=KB0791835> says:
This setting is controlled by two MID Server properties, which both default to true:

  • mid.sa.prefer_powershell
  • mid.use_powershell

I found "mid.use_powershell" in mid configuration parms, default is false but I can't even find "mid.sa.prefer_powershell"

1 ACCEPTED SOLUTION
5 REPLIES 5

Hemant Goldar
Mega Sage
Mega Sage

Hi Todd,

Please go through the below docs it will enable mid.sa.prefer_powershell.

https://docs.servicenow.com/bundle/orlando-it-operations-management/page/product/discovery/task/t_Se...


Hope this helps!

Please mark the reply as Helpful/Correct, if applicable.

Regards,
Hemant

Todd36
Mega Expert

I was a little premature setting this as the solution as "mid.sa.prefer_powershell" is not available as a property to select, see attached.

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

You need to add it as property see below:

 

find_real_file.png

 

find_real_file.png

Thanks,
Ashutosh

i have multiple mid server so for each i have to add it?

Regards,
Anshu