PrepAway - Latest Free Exam Questions & Answers

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.)

PrepAway - Latest Free Exam Questions & Answers

A.
Install PswaWebApplication

B.
Add PswaAuthorizationRule

C.
Set-WSManlnstance

D.
Set-WSManQuickConfig

E.
Set-BCAuthentication

Explanation:
Configure PowerShell Web Access Gateway using the following PowerShell Cmdlet.
Install-PswaWebApplication –UseTestCertificate
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.aspxhttp://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

One Comment on “Which two cmdlets should you run on Server1?

  1. Will says:

    Additional Reading:
    https://technet.microsoft.com/en-us/library/hh831611(v=ws.11).aspx

    Windows PowerShell® Web Access, first introduced in Windows Server® 2012, acts as a Windows PowerShell gateway, providing a web-based Windows PowerShell console that is targeted at a remote computer. It enables IT Pros to run Windows PowerShell commands and scripts from a Windows PowerShell console in a web browser, with no Windows PowerShell, remote management software, or browser plug-in installation necessary on the client device. All that is required to run the web-based Windows PowerShell console is a properly-configured Windows PowerShell Web Access gateway, and a client device browser that supports JavaScript® and accepts cookies.




    0



    0

Leave a Reply