How to identify particular KB Installed or Not in a (Remote) windows machine using powershell from wsus server .

sri sri 1 Reputation point
2021-05-17T10:51:51.263+00:00

Hi Team,
i searched many templates to run  PowerShell script for fetching KB's status, but not working any more.
Actually We have a WSUS server in which 200 computers are reporting(existing) . I would like to check if a particular KB is installed on all 200 computers or NOT.

Kindly guide me with the help of PowerShell script.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,378 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Rita Hu -MSFT 9,626 Reputation points
    2021-05-19T02:21:55.067+00:00

    @sri sri
    I found a related link just for your reference. In addition, I tested it in my lab environment and I would like to share the screenshot for your reference:
    97716-1.png
    The script could help to get the specified KB number from client itself.

    Also, I found a useful link for your reference. It is helpful to get the specified updates from WSUS database and save to the specified path.

    Hope the above will be helpful. Please feel free to keep us in touch if you have any other questions.

    Have a nice day :)

    Regards,
    Rita


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Docs 15,241 Reputation points
    2021-05-19T03:01:35.637+00:00

    For manual PS commands:

    get-hotfix
    wmic qfe list
    wmic qfe list brief /format:table

    Please remember to vote and to mark the replies as answers if they help.

    0 comments No comments

  3. Selvakumaran Ananth 1 Reputation point
    2022-03-17T15:58:54.093+00:00

    Hi,

    @UnicornLady Hu -MSFT I need a to check multiple servers like server x, server y, server z etc.. with out typing the KB in PowerShell script, is there any ways to import the excel or csv file which includes the server x, server y, server z with KB to find in single run with PowerShell.

    Thanks,
    Selva.

    0 comments No comments