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

PRTG Error PE181 but Powershell 2.0 is installed

Votes:

0

I got an error on my probe server.

The Windows Update Status sensor reports an error on the probe server device:

Dieser Sensor benötigt die PowerShell 2.0 (oder höher) auf dem System mit der PRTG Probe.

(´╗┐<?xml version="1.0" encoding="utf-8"?> <prtg> <error>1</error> <text>Unable to cast object of type 'System.Management.Automation.PSCustomObject' to type 'System.Collections.ArrayList'.</text> </prtg>) (Code: PE181)

But I have Powershell 2.0 and 5.1 installed.

It already worked months until now.

error powershell windows-update-status

Created on Dec 29, 2017 8:27:35 AM

Last change on Dec 29, 2017 10:03:24 AM by  Dariusz Gorka [Paessler Support]



9 Replies

Votes:

0

Hi Simon,

Please issue the following command in a 32-Bit PowerShell:

$PSVersionTable.PSVersion

Please post the result of the command.

Best regards.

Created on Dec 29, 2017 10:04:27 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

Hello Dariusz,

I have the same problem with 2 Servers since i updated to 17.4.36.3670+

Thats my results from $PSVersionTable.PSVersion on the 2 servers:

Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.

PS C:\Users\admin> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
4      0      -1     -1
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS C:\Users\admin> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      14393  1944

Created on Jan 2, 2018 8:27:53 AM

Last change on Jan 2, 2018 8:53:33 AM by  Luciano Lingnau [Paessler]



Votes:

0

I am having the same problem here. I am pretty sure this started happening after the last update. I updated last Sunday!

Created on Jan 2, 2018 4:16:17 PM



Votes:

0

Hi there,

Please note that the PowerShell version of the probe needs to be at least v3. Please issue the command again on the Probe Server in the 32Bit PowerShell:

$PSVersionTable.PSVersion


Best regards.

Created on Jan 4, 2018 6:58:09 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

Thx Dariusz. That fixed the Problem for me.

Created on Jan 4, 2018 11:50:08 AM



Votes:

0

Hi, same Problem here....on the remote probe I get

$PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      14393  1715

and now? Any Idea? It's a 2016 Server and WSUS Powershell Sensor ist not working to any Server.... If I connect via powershell to the other Server (from the remote probe..) with enter-pssession it is no problem to get the WSUS Status.

Chris

Created on Jan 29, 2018 2:44:36 PM

Last change on Jan 29, 2018 9:21:41 PM by  Stephan Linke [Paessler Support]



Votes:

0

The error is actually different, please provide us with Probe Status Files via [email protected] so we can check what's going on :)


Kind regards,
Stephan Linke, Tech Support Team

Created on Jan 30, 2018 6:47:35 AM by  Stephan Linke [Paessler Support]



Votes:

0

sorry to bring up an old topic, but I never saw the resolution and I am having the same problem. Does anyone know the fix?

My Powershell Version

PS C:\Windows\system32> $PSVersionTable.PSVersion

Major Minor Build Revision ----- ----- ----- -------- 5 1 14393 3053

My PRTG version

Currently Installed Version 19.2.50.2842

The sensor error

Sensor Windows Updates Status

Acknowledged at 11/5/2019 8:54:51 AM by David DeGraw: Powershell version not supported. Current Powershell major version: 2. Please install Powershell 3.0 or later.

Created on Nov 5, 2019 7:28:24 PM



Votes:

0

Is this the actual (Remote) Probe where the Sensor resides on?

Created on Nov 7, 2019 6:58:09 AM by  Stephan Linke [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.