ServiceNow MID server Powershell Module
![PS Gallery](https://camo.githubusercontent.com/fea331d0fd5f0fa79f0b21aeeac9420df9882eaf5cca0a8430aa2158f296c299/68747470733a2f2f696d672e736869656c64732e696f2f706f7765727368656c6c67616c6c6572792f762f536572766963654e6f772d4d49445365727665722e737667)
Powershell module for ServiceNow MID server installation
Version |
Info |
Date |
1.1.4 |
Progress bar set to silent to boost download speed |
16.09.2020 |
1.1.3 |
Suppress error message on Get-ChildItem |
14.04.2020 |
1.1.1 |
Small fix in the installation process |
25.02.2020 |
1.1 |
Initial working release |
15.01.2020 |
Command |
Info |
Install-ServiceNowMIDServer |
Downloads and installs ServiceNow MID server agent |
- Create MID server user in ServiceNow to table
sys_user
and add MID server role to it
- Login to your Windows 2016/2019 server that is going to be your MID server
- Open Powershell terminal at the MID server
- Install Powershell ServiceNow MID server module and MID server agent by typing these commands in the Powershell shell:
Install-Module -Name ServiceNow-MIDServer
Install-ServiceNowMIDServer -ServiceNowInstanceName <string> -Name <string> -Credential <PSCredential>
- Note that if script execution policy is set to disabled you must first enable it by typing this command:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
- Installer will prompt your ServiceNow MID server user credentials if you haven't provided PSCredential object for it
- Enter MID server user credentials and wait until the script downloads the agent and installs it, agent is around 200-300 MBs in size
- Validate the MID server in ServiceNow
Install-Module -Name ServiceNow-MIDServer
Install-ServiceNowMIDServer -ServiceNowInstanceName 'dev78602' -Name 'AzureMIDServer' -Credential (Get-Credential)