VMware Cloud Community
piercj2
Enthusiast
Enthusiast

Remediate only Staged Patches

Hi Guys,

Is there a way to use PowerCLI to remediate only Patches/Baselines that have already been staged ?

I'm using PowerCLI to automate the Patching of approx 1000 ESXi 5.5 Hosts.

The Process first Stages one of two available Baselines, depending on the Host Hardware (Dell or Cisco).

I've got this working with Stage-Patch and some Where-Object statements.

I now want to use Remediate-Inventory to remediate the Patches that have already been staged, without having to check them again to see if they are for Dell or Cisco

Thanks

Tags (1)
0 Kudos
1 Reply
LucD
Leadership
Leadership

Can't you just store the baseline names when you did your testing for the Staging ?


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

0 Kudos