How to check Powershell version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 12:18 AM
Hi All,
As i have received communication ,From Orlando release minimum powershell version required is greater than 2.0 .Could you please tell me how could i check the powershell version which we are using for our mid servers .Also how could it impact if we are not using powershell.Do we need to install ,if we are not using it .
Please help .
Thanks .
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 12:21 AM
Open a powershell command line and use the following snippet.
$PSVersionTable.PSVersion
If you don´t use powershell and none of your ServiceNow Integrations (e.g. Discovery) uses Powershell you should be safe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 12:44 AM
Hi Sebastian,
Thanks for your response .
I have gave suggested command in mid server (Command prompt>>Rus as admin>Start Powershell>>$PSVersionTable.PSVersion).
I am getting below information.
Major Minor Build Revision
----- ----- ----- --------
4 0 -1 -1
How could i confirm ,I am using powershell for mid servers or not .What is the use of the powershells in Discovery .
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 01:54 AM
You need to check if the mid.use_powershell MID Server parameter to set to true.
Here is the documentation which explains how the MID Servers are set up for Powershell use:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 05:27 AM
Hi,
Your MID is running PowerShell 4.0 engine version, so you're good here. ServiceNow Discovery uses PowerShell to discover Windows computers.
Regards