How to: Install PowerShell Web Access on Windows Server 2012 (8)
Quickly Install using PowerShell
If you want to really quickly install PowerShell Web Access to test the functionality in a lab environment, you can run the following commands:
- Add-WindowsFeature WindowsPowerShellWebAccess
- Install-PswaWebApplication -UseTestCertificate
- Add-PswaAuthorizationRule * * *
- Start your browser and navigate to https://servername/pswa/
Install Manually Using Server Manager
- Fire up Server Manager and select Manage –> Add Roles and Features
- Click Next on the Before you begin step
- Select Role-based or feature-based Installation and click Next
- Select the Target server from the Server Pool and click Next
- On the Select Server Roles step, click Next. PowerShell Web Access is a feature so we will skip this step.
- On the Features step, select PowerShell Web Access. When prompted click Add Features to add required roles and features and click Next
- On the IIS role step and the IIS Role Services steps, click Next (Next, Next)
- At the Confirm step, click Install
- Wait for the installation to complete, or click Close
- If you do click close before the installation completes, you can monitor the task from the notification icon within Server Manager
- Configure the web application by running the Install-PSwaWebApplication cmdlet shown below.Please note: You may prefer to change the web application name or just leave that parameter out and the default will be pswa.
- Configure an Authorisation Rule for the built-in Administrator account using the Add-PswaAuthorisationRule cmdlet
- Try it out! https://localhost/myWebApp/