vMarkusK / Advanced-PRTG-Sensors

Collection of my Advanced PRTG Sensors
https://mycloudrevolution.com/
Apache License 2.0
67 stars 29 forks source link

'Disconnect-VBRServer' is not recognized as the name of a cmdlet on new v3 script #94

Closed MBindlehner closed 2 years ago

MBindlehner commented 2 years ago

Hi!

I got the same error as many others before: XML: The returned XML does not match the expected schema. (code: PE233) -- JSON: The returned JSON does not match the expected structure (No mapping for the Unicode character exists in the target multi-byte code page). (code: PE231)

PRTG Log: C:\Program Files (x86)\PRTG Network Monitor\custom sensors\EXEXML\PRTG-VeeamBRStats-v3.ps1 : Die Benennung "Disconnect-VBRServer" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang. In Zeile:1 Zeichen:137

With " .\PRTG-VeeamBRStats-v3.ps1 -BRHost '192.168.1.105' -Debug " I get no errors. It shows all stats the PRTG sensor should present.

I get no errors when executing the script on the server.

Server is not in a domain if that information helps. Veeam Version 11.0.1.1261 P20220302

Thank you already!

MBindlehner commented 2 years ago

It has been resolved. The hard drive on which a backup job was saved had some problems. Switching to another hard drive did not just resolve our backup problem but resolved the sensor's issue. Super weird how everything connects but I'm happy it works!