Hello All,

To add additional workload to ConfigMgr admins 😉, MSFT has released Out-Of-Band patches for Internet Explorer. MSFT Article . Now most of the people like me would have started deploying those updates via emergency change process some people would wait for next Patch Tuesday to apply CU’s via normal update roll-out process.

I quickly thought of helping people who has started deploying this updates to Workstations/Servers.

Wrote a piece of code which will help in creating configuration baseline and deploy based on the requirement.

PowerShell Script for Creating Baseline:

$Build = (gwmi win32_operatingsystem).BuildNumber switch ($Build) { ('10240') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483228'") { return "$true" } else { return "$false" } } ('10586') { return "$false" } ('14393') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483229'") { return "$true" } else { return "$false" } } ('15063') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483230'") { return "$true" } else { return "$false" } } ('16299') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483232'") { return "$true" } else { return "$false" } } ('17134') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483234'") { return "$true" } else { return "$false" } } ('17723') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483235'") { return "$true" } else { return "$false" } } ('17763') { return "$true" } ('2600') { return "$true" } ('3790') { return "$true" } ('6001') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483187'") { return "$true" } else { return "$false" } } ('6002') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483187'") { return "$true" } else { return "$false" } } ('7600') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483187'") { return "$true" } else { return "$false" } } ('7601') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483187'") { return "$true" } else { return "$false" } } ('9200') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483187'") { return "$true" } else { return "$false" } } ('9600') { if (gwmi -Namespace "root/cimv2" -Query "select * from win32_quickfixengineering where hotfixid like 'KB4483187'") { return "$true" } else { return "$false" } } }

Import Baseline directly to ConfigMgr, Cab File has been uploaded to GitHub. Download Link!

Please let me know in comments for queries/concerns.

-Praveen





Share this: Twitter

Facebook

Like this: Like Loading... Related