Microsoft 70-411 Exam – Q51

Your network contains an Active Directory domain named All servers run Windows Server 2012 R2.
The domain contains a server named Server1. You install the Windows PowerShell Web Access gateway on Server1.

You need to provide administrators with the ability to manage the servers in the domain by using the Windows PowerShell Web Access gateway. Which two cmdlets should you run on Server1? (Each correct answer presents part of the solution. Choose two.)

A. Set-WSManQuickConfig
B. Set-WSManInstance
C. Add-PswaAuthorizationRule
D. Set-BCAuthentication
E. Install-PswaWebApplication

Correct Answer: C, E

The Install-PswaWebApplication cmdlet is a quick way to get Windows PowerShell Web Access configured.
After Windows PowerShell Web Access is installed and the gateway is configured, users can open the sign-in page in a browser, but they cannot sign in until the Windows PowerShell Web Access administrator grants users access explicitly. Windows PowerShell Web Access access control is managed by using the set of Windows PowerShell cmdlets described below. There is no comparable GUI for adding or managing authorization rules.

To add a restrictive authorization rule
Add-PswaAuthorizationRule –UserName Contoso\JSmith -ComputerName Contoso_214 -ConfigurationName NewAdminsOnly