Skip to main content

Hello Im somewhat new to Automox, 

ive been tasksed with creating a policy to remove Microsoft KB5009543 security update and Microsoft KB5008876 - Windows update. these are causing major issues at my organization breaking our VPN. 

i found this script, but not sure on how to create the worklet ( ive never done this before) 

  1. Get-WindowsPackage -Online | ?{$_.ReleaseType -like "*Update*"} | `
  2. ForEach-Object {Get-WindowsPackage -Online -PackageName $_.PackageName} | `
  3. Where-Object {$_.Description -like "*KB5009543*"} | Remove-WindowsPackage -Online -NoRestart

the tickets keep rolling in for remote employees! 

please help! 

Hey, @paulmarler -- you’ve got the script, so throwing a worklet together should be pretty easy. The important part to remember is that a worklet will need to be split into “evaluation code” and “remediation code” - sometimes, “remediation” just means removing a package or uninstalling an app. I think this will be a good starting point for you: https://support.automox.com/help/system-management-creating-a-worklet

Also, from our very own @Peter-Automox via the Community Insight Hub: 

I hope that helps, but let us know if you have any questions - if you can’t get the worklet written, we can assist with that too. 


thank you @ChadMc-Automox !! i appriciate your help! 


Glad to help! Also, our Customer Success team may have already sent this over, but they did find a pre-existing worklet to accomplish this: https://console.automox.com/manage/worklet-catalog/9 -- if @BrandonG-Automox didn’t reach out already, there you go! 


Reply