To use the Best Practice Analyzer for Remote Desktop Services, we will import the Best Practices Module for PowerShell



The Get-BpaModel tells you which all Scans are available for you to run on the box. As shown in the screenshot below, we do have access to the Microsoft/Windows/TerminalServices scan since the RDS Role has been installed on the server.


To run the scan, we will pipeline the Get-BpaModel to the Invoke-BpaModel Cmdlet as shown below:


The final step is to use the Get-BpaResult command to get the results dumped on the console. Note that we are in compliance with most of the Rules. Smile