What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How can I increase memory for Remote PowerShell?

Votes:

0

I use several PRTG sensors that use Remote PowerShell. Because I run a large IT environment, the memory that is allocated for Remote PowerShell is not sufficient. This results in errors for Remote PowerShell sensors like The WSMan provider host process did not return a proper response.

How can I turn off the Remote PowerShell memory limitation so that there is always enough memory available for my sensors?

memory powershell prtg remote-powershell

Created on Oct 28, 2014 2:28:58 PM by  Gerald Schoch [Paessler Support]

Last change on Jul 10, 2019 7:05:38 AM by  Maike Guba [Paessler Support] (2,404) 2 1



1 Reply

Accepted Answer

Votes:

0

This article applies as of PRTG 22

Increasing the memory limit for Remote PowerShell

There are various sensor types for which you have to enable Remote PowerShell to monitor the target devices. By default, a remote shell is allocated a maximum of 150 MB memory. This might be insufficient in larger network environments with, for example, several Hyper-V hosts and dozens of virtual machines.

Remote PowerShell sensors might show the following error message if too little memory is available:

The WSMan provider host process did not return a proper response

In this case, increase the memory limitation of 150 MB to 1 GB. Use the following command to increase the memory allocation limit for Remote PowerShell:

Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1024

Sensors that use Remote PowerShell will not fail anymore because of the abovementioned memory limit.

More

Created on Oct 28, 2014 2:31:48 PM by  Gerald Schoch [Paessler Support]

Last change on Jun 30, 2022 7:57:27 AM by  Brandy Greger [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.