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
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...