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

Object reference not set to an instance of object



Hi all,

yesterday I've upgraded to the latest release one of our two vcenter , after that the powershell script that we're using since years to check the snapshot presence, return this error only in the upgraded vcenter: "Could not connect to vCenter server xxxx.xxx.xx. Error: Object reference not set to an instance of an object. If I execute the powershell by windows in both vcenters it's perfectly working. This is the script on github: https://github.com/Jannos-443/PRTG-VMware-Snapshot

Any suggestion?


exe exe-xml powershell

Created on Jul 15, 2022 8:57:19 AM

2 Replies



Hi Cipo,

Did you also try to run the script on the (Remote) Probe where the sensor is located? Since this is a third-party script, I would like to ask you also to reach out to the owner of this script.

Kind regards

Felix Wiesneth - Team Technical Support

Created on Jul 18, 2022 9:36:58 AM by  Felix Wiesneth [Paessler Support]



Hi, the update-module powershell did the trick!

Created on Jul 18, 2022 12:26:37 PM

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.