CmdID / PowerShell / Cmdlets / Get
Get-BpaResult
Retrieves and displays the results of the most recent Best Practices Analyzer (BPA) scan for a specific model. Windows Server PowerShell reference
From the Windows Server PowerShell reference 8 parameters Its page in the reference
Parameters
-AllReturns the output type Reports.-CollectedConfigurationReturns only discovery information that was collected during a BPA scan, not the results of evaluating rules in the model.-ComputerNameSpecifies the target computer from which to retrieve BPA results.-ContextScans a submodel in the context of a specific model (one that is different from the parent model of the submodel).-FilterFilters the type of result to return.-ModelId, -Id, -BestPracticesModelIdIdentifies the model from which results need to be obtained.-RepositoryPathSpecifies the location of the repository from which to get the results generated by the Invoke-BpaModel.-SubModelIdIdentifies the submodel for the model specified by the *ModelId* parameter.For example, the Update Services model (Microsoft/Windows/UpdateServices) has two submodels (UpdateServices-DB, UpdateServic…