Exam4Training

Which two cmdlets should you run on Server1?

Your network contains an Active Directory domain named contoso.com. 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 . Install PswaWebApplication
B . Add PswaAuthorizationRule
C . Set-WSManlnstance
D . Set-WSManQuickConfig
E . Set-BCAuthentication

Answer: A, B

Explanation:

Configure PowerShell Web Access Gateway using the following PowerShell Cmdlet.

Install-PswaWebApplication CUseTestCertificate

Running the cmdlet installs the Windows PowerShell Web Access web application within the IIS Default Web Site container. The cmdlet creates the infrastructure required to run Windows PowerShell Web Access on the default website, https://<server_name>/pswa.

Add-PswaAuthorizationRule

Adds a new authorization rule to the Windows PowerShell Web Access authorization rule set.

Parameters:

ComputerGroupName

ComputerName

ConfigurationName

RuleName

UserGroupName

UserName

Credential (Windows Server 2012 R2 and later)

References:

http://technet.microsoft.com/en-us/library/hh849867.aspx

http://technet.microsoft.com/en-us/library/hh849875.aspx

http://technet.microsoft.com/en-us/library/jj592890(v=wps.620).aspx

http://technet.microsoft.com/en-us/library/hh848404(v=wps.620).aspx

http://technet.microsoft.com/en-us/library/jj592894(v=wps.620).aspx

Exit mobile version