Install and Configure PowerShell Web Access on Windows Server
#PowerShell #Microsoft #IIS #WebAccess
Full steps can be found at https://i12bretro.github.io/tutorials/0626.html
--------------------------------------------------------------------
What is PowerShell Web Access?
--------------------------------------------------------------------
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. - https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831611(v=ws.11)
--------------------------------------------------------------------
Install PowerShell Web Access
--------------------------------------------------------------------
01. Log into the Windows Server device
02. Run the following commands in PowerShell as administrator
# install IIS and powershell web access
Add-WindowsFeature –name Web-Server,WindowsPowerShellWebAccess -IncludeManagementTools
# configure powershell web access gateway
Install-PswaWebApplication –webApplicationName powershell –useTestCertificate
# grant PSWA access to current user on current server
Add-PswaAuthorizationRule -UserName $ENV:UserDNSDomain\$ENV:UserName -ComputerName * -ConfigurationName *
# or grant access to all users
Add-PswaAuthorizationRule * * *
03. Open a web browser and navigate to https://DNSorIP/powershell
04. Login using the credentials authorized above
User name: ≪domain≫\≪username≫
Password: ≪user password≫
Connection type: Computer Name
Computer name: ≪fully qualified server name≫
User name: i12bretro.local\i12bretro
Password: ≪user password≫
Connection type: Computer Name
Computer name: i12bretrodc.i12bretro.local
05. Click Sign In
06. Welcome to Powershell Web Access
Source: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831611(v=ws.11)
More Info: https://docs.microsoft.com/en-us/previous-versions//hh918342(v=technet.10)?redirectedfrom=MSDN
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro