Update WsMan limits

WsMan provides methods and properties used to create a session. SolarWinds has created a PowerShell script to update the WsMan limits suitable for AppInsight for IIS. This can be found at:

https://support.solarwinds.com/?title=Success_Center/Server_%26_Application_Monitor_(SAM)/AppInsight_for_IIS:_Update_WsMan_limits

Once downloaded, execute the script by right-clicking it and selecting, Run with PowerShell. The following parameters apply:

  • maxConcurrentUsersDefaultValue - Default value is 5
  • maxShellsPerUserDefaultValue - Default value is 5
  • maxMemoryPerShellMBDefaultValue - Default value is 150
  • serviceRestartRequired - Default value is $false

You can run this script with the default arguments from the PowerShell console or specify each one.

For example:

& '.\Update WsMan Limits.ps1'