Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

MBSA 2.0 CLI

I have searched and cannot find a simple answer to this.

How can I use MBSA to give me a list of patches needed by a set of servers in a text file? I had seen some newgroup postings about parsing the xml output - but I think someone can recommend a good script to use or have a better solution (that is free).

I know how to automate scans to save the default results for a group of servers but I do not want to use the GUI to open each one.

---
cd "C:\Program Files\Microsoft Baseline Security Analyzer 2"
mbsacli.exe /listfile c:\support\mbsa\Systems.txt /n Password+IIS+OS+SQL /wi
---
That saves the results to C:\Documents and Settings\administrator\SecurityScans\

I am just trying to get a good list of patches needed so I cna approve them via WSUS. I know some patches override others and want to just approve patches that I need.

Thanks,
Mark
0
markpalinux
Asked:
markpalinux
1 Solution
 
oBdACommented:
Why do you want to do that manually? That's exactly what WSUS is there for: you can approve updates for detection only. After the client's next detection cycle, you should be able to generate a report of missing patches for the machines you want to check.
You can basically approve any hotfix (you've tested); the AU client will only install the updates the machine needs, not all updates that are approved.
Whether a patch supersedes another one is listed in the patch's details, and easily identifiable by the little tree symbol on the left. Note that a patch listed as superseding another one may well have been already superseded by another one, so always check the description, and don't go by the symbol only.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now