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:
Next, install the Web App in IIS:
PS > Install-PswaWebApplication
You may access the web interface at this address: https://server.domain.local/pswa
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