VMware Cloud Community
philk33
Enthusiast
Enthusiast

How to automate Get-HotFix commandlet so I can check if Windows KB has been applied?

Trying to figure out conceptually how I would check if our Windows Updates have been deployed to some parent VMs. I see there is a powershell commandlet that can check if a hotfix has been applied.

So how can I roll this into workflow?

I'm making a couple assumptions here:

1. An admin will still manually kick off the patching workflow.

2. SCCM will apply the updates, but it's not on a hard set timer so I need to check if the KB is applied, if not, I want to continue waiting.

3. Once the KB has been applied, run the rest of the post patching workflows.

So my question is, which workflow am I using to run the powershell script? Am I deploying it off my powershell host and passing a variable for the KB?

Any help is appreciate,

Thanks

Reply
0 Kudos
0 Replies