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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...