Link to home
Start Free TrialLog in
Avatar of Chlavarara
Chlavarara

asked on

Get list of Servers installed with specific patch

How to check if a specific patch has been installed on all servers in the domain using command or powershell?
Avatar of Dorababu M
Dorababu M
Flag of India image

You can use
if (!(Get-HotFix -id KB974332 -computername yourserver))
{
    // not installed
}

Open in new window

Avatar of Chlavarara
Chlavarara

ASKER

Hi all,

 I am not looking for a single server, i have a list of servers and i need to check all the servers.

Some thing like using a text file with host name or ip adressess.


Regards,
chlavarara
The same code, you can loop though each your server, may be maintaining them in an excel or a text file.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.