URGENT -- vb script to find a specific patch on a server, and if patch is found install another patch on it RRS feed

  • General discussion

  • <p>Hello,</p><p>&nbsp; I am trying to find a script through which i can run on a machine, and the script should check if one specific patch (MS12-024) is installed on that machine. If this patch is found, then we need to install another patch (hotfix) KB958476 on that machine</p>
    Tuesday, June 12, 2012 11:06 AM

All replies

  • Here is a script:  YOu willneed to find the correct KB for the server.  It is OS dependent and you cannot look up patches on machines by bulletin number.

    Here is a script to get a patch by ID:

    Get-HotFix -id KB958476


    Tuesday, June 12, 2012 2:31 PM
  • Thanks!

    I will try this one.

    Tuesday, June 12, 2012 3:19 PM