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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...