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?

Thanks


Article Comments

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


Jul, 2022 - Permalink

Hi, the update-module powershell did the trick!


Jul, 2022 - Permalink