From 969d31fcfbf5f82aea40d43f3730b36a40f87426 Mon Sep 17 00:00:00 2001 From: Wouter Kursten Date: Sun, 8 Apr 2018 10:56:34 +0200 Subject: [PATCH] added pod to get-hvhealth --- Modules/VMware.Hv.Helper/VMware.HV.Helper.psm1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Modules/VMware.Hv.Helper/VMware.HV.Helper.psm1 b/Modules/VMware.Hv.Helper/VMware.HV.Helper.psm1 index 36e66e0..35c090c 100644 --- a/Modules/VMware.Hv.Helper/VMware.HV.Helper.psm1 +++ b/Modules/VMware.Hv.Helper/VMware.HV.Helper.psm1 @@ -10001,7 +10001,7 @@ function get-hvhealth { .PARAMETER Servicename The name of the service to query the health for. This will default to Connection server health. - Available services are ADDomain,CertificateSSOConnector,ConnectionServer,EventDatabase,SAMLAuthenticator,SecurityServer,ViewComposer,VirtualCenter + Available services are ADDomain,CertificateSSOConnector,ConnectionServer,EventDatabase,SAMLAuthenticator,SecurityServer,ViewComposer,VirtualCenter,Pod .PARAMETER HvServer Reference to Horizon View Server to query the virtual machines from. If the value is not passed or null then @@ -10035,7 +10035,7 @@ function get-hvhealth { param( [Parameter(Mandatory = $false)] - [ValidateSet('ADDomain', 'CertificateSSOConnector', 'ConnectionServer', 'EventDatabase', 'SAMLAuthenticator', 'SecurityServer', 'ViewComposer', 'VirtualCenter')] + [ValidateSet('ADDomain', 'CertificateSSOConnector', 'ConnectionServer', 'EventDatabase', 'SAMLAuthenticator', 'SecurityServer', 'ViewComposer', 'VirtualCenter', 'pod')] [string] $Servicename = 'ConnectionServer', @@ -10075,6 +10075,9 @@ function get-hvhealth { 'VirtualCenter' { $healthinfo=$services.VirtualCenterHealth.VirtualCenterHealth_List() } + 'Pod' { + $healthinfo=$services.podhealth.PodHealth_List() + } } if ($healthinfo){ return $healthinfo