VMware Cloud Community
UberGeek1
Enthusiast
Enthusiast

Setting RebootRequired Flag using PowerCLI

What I'm looking to do is set the ExtensionData.Summary.RebootRequired of a VMHost object to true on demand.  The reason is then I can have a script that makes a setting change and trigger this flag, then I can have a generic script just look for hosts with the flag, instead of having to be very specific about this host or that host.  It seems in some cases, like pushing firmware and drivers from HPe's SPP application this flag get's set, but I cannot figure out for the life of me how to do that.  I would even use something ESXCLI based if needbe, but I'm hoping it's not some hidden, partner only API.  I also need this backwards compatible back to vSphere 6.0, up through 6.7.

Sincerely, Jody L. Whitlock
0 Kudos
3 Replies
LucD
Leadership
Leadership

Afaik there is no public API available to set that flag.


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

0 Kudos
UberGeek1
Enthusiast
Enthusiast

I was really hoping you wouldn't say that...

Sincerely, Jody L. Whitlock
0 Kudos
LucD
Leadership
Leadership

If you are of the (very) optimistic persuasion, you could open a RFC :smileygrin:


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

0 Kudos