Your strategic advantage starts here

Check If a Windows Update Exists

Check If a Windows Update Exists

Here’s a script that will check if a windows update exists on a device.  Yes, there are manual ways of finding out by navigating to Control Panel > Programs and Features > View Installed Updates, but sometimes it’s quicker to run a script as opposed to sifting through a list for KB references:

@echo off

set KBRESULT=
for /f %%f in ('wmic qfe get hotfixid ^| find "KB4495590"') do set "KBRESULT=%%f"

IF [%KBRESULT%] == [] (
	echo not installed                    
) else (
	echo installed 
)

 

Related Posts
Leave a Reply
Give us a call

Available from 9am to 8pm, Monday to Friday.

Send us a message

Send your message any time you want.

Our usual reply time: 1 Business day
Give us a call

Available from 9am to 8pm, Monday to Friday.

Send us a message

Send your message any time you want.

Our usual reply time: 1 Business day