PowerShell Logo Small

Get-BpaResult



This is the built-in help made by Microsoft for the command 'Get-BpaResult', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

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

SYNTAX


Get-BpaResult [-ModelId] <String> [[-CollectedConfiguration]] [-All] [-Filter <FilterOptions>] [-RepositoryPath <String>] [<CommonParameters>]
Get-BpaResult [-ModelId] <String> [[-CollectedConfiguration]] [-All] [-ComputerName <String[]>] [-Context <String>] [-Filter <FilterOptions>] [-RepositoryPath <String>]
[-SubModelId <String>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-BpaResult cmdlet retrieves and displays the results of the latest Best Practices Analyzer (BPA) scan for a specific model that is installed on a computer. To use
this cmdlet, add the ModelId parameter, and specify the model identifier (ID) for which to view the most recent BPA scan results. The All parameter can be used to retrieve
all of the scanned results for a particular model. If the All parameter is not specified, then the most recent results of the particular model are returned.


This cmdlet can be used to view the results of a BPA scan for a specific model. An administrator specifies a model ID as a parameter and the latest results for that model
are displayed.


Note: This cmdlet does not start a new BPA scan.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?LinkId=287254
Get-BpaModel
Invoke-BpaModel
Set-BpaResult

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Get-BPAResult -ModelId ModelId1



This example returns the most recent Best Practices Analyzer scan results for the model that is represented by ModelId1. The short form of the ModelId parameter can also be
used, Id.




EXAMPLE 2

PS C:\> Get-BPAModel | Get-BPAResult



This example, the Get-BpaModel cmdlet is used to return a list of all BPA models that are installed on the computer. The results of the Get-BpaModel cmdlet are piped to
this cmdlet to retrieve the most recent Best Practices Analyzer scan results for all models that are supported by BPA.