Installing PowerShell Web Access

PowerShell Web Access allows a PowerShell console to be reached on a remote server from any browser that supports JavaScript. To do this, one just needs to install an IIS application on a server that will be used as a gateway to access PowerShell on any system on which WinRM is activated.

You must have:

  • Active Directory (AD DS)
  • Certificate Authority (AD CS) => Optional, you can use a self signed certificate.

First, you must install the Windows Feature:

PS > Install-WindowsFeature -Name WindowsPowerShellWebAccess -IncludeAllManagementTools

or by GUI:

pswa

Next, install the Web App in IIS:

PS > Install-PswaWebApplication

pswa2

You may access the web interface at this address: https://server.domain.local/pswa

pswa1

Now, you can create authorisation rules:

PS > Add-PswaAuthorizationRule -ComputerName SRV01 -UserGroupName "Domain.local\PSWAdmins" -ConfigurationName Microsoft.PowerShell

This rule indicates that PSWAdmins (which is my Active Directoy group) can access to SRV01 (which is my server).

More information: here

 

Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.