Update WSMan limits for AppInsight for IIS
The WSMan provider for Windows PowerShell lets you add, change, clear, and delete WS-Management configuration data on local or remote computers. SolarWinds provides a PowerShell script to update the WSMan limits suitable for AppInsight for IIS, available for download here.
To execute the script, right-click and select Run with PowerShell.
The following parameters apply:
maxConcurrentUsersDefaultValue- Default value is
maxShellsPerUserDefaultValue- Default value is
maxMemoryPerShellMBDefaultValue- Default value is
serviceRestartRequired- Default value is
You can run this script with the default arguments from the PowerShell console or specify each one.
& '.\Update WsMan Limits.ps1'
Additional helpful commands include:
- To view the WinRM configuration, use
winrm get winrm/config
- To view WinRM HTTPS Listener settings, use
winrm get winrm/config/listener?Address=*+Transport=HTTPS
- To check if the server is listening to port 5986, use
netstat -an | findstr "5986"
- To remove WinRM HTTPS Listener settings, use
winrm delete winrm/config/listener?Address=*+Transport=HTTPS
Disclaimer: Your organization should internally review and assess to what extent PowerShell is incorporated into your environment. This is especially important when importing scripts from third parties, including content posted by other customers in the SolarWinds online IT community, THWACK. To learn more, see PowerShell security considerations.