VMware Cloud Community
Paulk99
Enthusiast
Enthusiast

vSan Health update via Powershell-PowerCLI

Hi All

We are setting up an automated install process.

Looking for a commandlet and or code snippet which will trigger the vSAN heath utility to run and update itself with the latest score applied..

P

 

 

Reply
0 Kudos
4 Replies
LucD
Leadership
Leadership

That would be the Test-VsanClusterHealth cmdlet I assume.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
Paulk99
Enthusiast
Enthusiast

yeah i saw that one but wast sure if it actually invoked the same function

Reply
0 Kudos
LucD
Leadership
Leadership

It does


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
Paulk99
Enthusiast
Enthusiast

Hiya 

Super yes indeed it works outputs as "Failed" but i think thats because we have some items not compliant which look like they require internet connectivity which we do not have.

So we get a 97% result which is good for us cheers !.

Reply
0 Kudos