How to install the Windows PowerShell Web Access Gateway
·347 words·2 mins·100 views·5 likes·
Add-PswaAuthorizationRule Get-WindowsFeature Install-PswaWebApplication Install-WindowsFeature Microsoft Microsoft Windows PowerShell Test-PswaAuthorizationRule Windows Windows PowerShell Windows Server Windows Server 2012 Windows Server 2016
In this post, I want to show you how to install the Windows PowerShell Web Access gateway on a server that is running Windows Server 2016 by using Windows PowerShell cmdlets. PowerShell Web Access Gateway allows remote administration of our server from outside. We can perform administration tasks on remote servers from devices that have access to an Internet connection and a web browser.
Install the Windows PowerShell Web Access feature>
Install the Windows PowerShell Web Access feature
#
To install the PowerShell Web Access Gateway, use the Install-WindowsFeature cmdlet with the following syntax:
Important: The -UseTestCertificate parameter should only be used in a test environment. For a production environment, you should use a valid certificate that has been signed by a CA.
Create an application pool for the PSWA web application.
Associate the application pool with a website.
Sets the path of the files for the website
Configure the website to use an HTTPS binding.
Specify an SSL certificate for the website.
Once the command has been executed successfully, the PWA site is online, we can connect using the default URL: https:/// But we can not log in until the Windows PowerShell Web Access administrator gives us explicit access to the servers. To do this we must add an authorization rule.