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 MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...