Best Practices Analyzer Cmdlets in Windows PowerShell

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Best Practices Analyzer

This reference provides cmdlet descriptions and syntax for all -specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

cmdlet Description

Get-BpaModel

Retrieves and displays the list of BPA models installed on the system.

Get-BpaResult

Retrieves and displays the results of the most recent Best Practices Analyzer (BPA) scan for a specific model.

Invoke-BpaModel

Starts a Best Practices Analyzer (BPA) scan for a specific model that is installed on a computer.

Set-BpaResult

Excludes or includes existing results of a Best Practices Analyzer (BPA) scan to display only the specified scan results.

Notes

To list all the cmdlets that are available, use the Get-Command –Module BestPractices cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

More Information

For more information about using the Best Practices Analyzer cmdlets, see Run Best Practices Analyzer scans and manage scan results on the Windows Server TechCenter.