All Apps and Add-ons

Microsoft Hyper-V addon: Powershell errors on hosts

MikaJustasACN
Path Finder

Hi All,

Just installed the latest available version of hyper-v addon. Facing three types of errors:

Type 1 error: Method invocation failed because [System.Object[]] does not contain a method.
This comes from all VM info scripts as it seems the iterations fail. It seems to fail only when there is more than 1 VM on the host. Host scripts work fine.

Type 2 error: Error in type "Microsoft.HyperV.PowerShell.VMMeteringReportForVirtualMachine": The member TotalDisk is already present.
This comes from 1 host (out of 50) and there are many similar messages. Issues with Import? None of the scripts run on this machine.

Type 3 error: Well, no error. Scripts just dont execute and no trace of execution/no execution. I run it every 12 hours, so it can be that one time runs all scripts, next time might run only few, next time again different number of events.

Cron for all scripts: 0 04 */12 ? * *
Hyper-V addon version: 3.1.0
Splunk version: 7.1.4
Splunk UF: 7.2.4
PS version: 4.0

Any help is appreciated.

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!