For example, the following command runs the same report as shown in the previous command but redirects it to a text file named mbsacli. Microsoft has created a free download that includes several sample scripts you can use to accelerate your learning and use of the MBSACLI The current version is called mbsa2samples. You can specify the target as a hostname or an IP address. The following command assumes a file named computers. Append this switch to commands that scan the domain or a range of IP addresses.
To get the results, type the following, substituting the appropriate report name:. When reports are generated using a command-line scan, they can also be viewed with the GUI at your leisure. Both the GUI and the command line store their files in the same location, so each utility can use the scan results generated from the other utility.
Figure B shows the first page of that scan. Personally, I like to be able to script this kind of stuff and view the results with a GUI.
The command-line viewing option works, but it's more difficult to interpret. As I mentioned, there are two syntaxes for mbsacli. Here's the full syntax of the mbsacli command:. This mode allows you to use the extremely granular scanning and reporting functionality that was present in the command-line hfnetchk utility.
Note that, unlike straight-up mbsacli, this does not produce XML output. Remember that a report is generated for each system in a scan. Note that MBSA can scan up to 10, machines simultaneously. If you need to scan more, you'll have to perform multiple scans. Scanning by IP address is limited to machines. If you want to scan off-hours or run scans regularly and view the results at your leisure, mbsacli. Note: Another use of the rollup. To do so, run the following command:.
Such command line can be useful following a maintenance period on the environment to check that identified security updates have been properly installed on identified servers. With this solution, Exchange Administrators are able to have a global overview on periodic basis of the current state of the Exchange servers regarding Security Fixes.
Windows Installer 3. MBSA 2. Microsoft Baseline Security Analyzer v2. You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Products 72 Special Topics 41 Video Hub Most Active Hubs Microsoft Teams. Security, Compliance and Identity. Microsoft Edge Insider. Azure Databases. Autonomous Systems. Education Sector. Microsoft Localization. Microsoft PnP. Healthcare and Life Sciences. Internet of Things IoT. Enabling Remote Work.
Small and Medium Business. Humans of IT. Green Tech. MVP Award Program.
0コメント