Sunday, 1 April 2012

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:
  1. Add-WindowsFeature WindowsPowerShellWebAccess
  2. Install-PswaWebApplication -UseTestCertificate
  3. Add-PswaAuthorizationRule * * *
  4. Start your browser and navigate to https://servername/pswa/

Install Manually Using Server Manager

  1. Fire up Server Manager and select Manage –> Add Roles and Featuresimage
  2. Click Next on the Before you begin step
    image  
  3. Select Role-based or feature-based Installation and click Next
    image  
  4. Select the Target server from the Server Pool and click Next
    image  
  5. On the Select Server Roles step, click Next. PowerShell Web Access is a feature so we will skip this step.
    image  
  6. On the Features step, select PowerShell Web Access. When prompted click Add Features to add required roles and features and click Next
    image 
    image 
    image  
  7. On the IIS role step and the IIS Role Services steps, click Next (Next, Next)
    image 
    image  
  8. At the Confirm step, click Install
    image  
  9. Wait for the installation to complete, or click Close
    image  
  10. If you do click close before the installation completes, you can monitor the task from the notification icon within Server Manager
    image  
  11. 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.
    image  
  12. Configure an Authorisation Rule for the built-in Administrator account using the  Add-PswaAuthorisationRule cmdlet
    image  
  13. Try it out! https://localhost/myWebApp/
    image 
    image 

No comments:

Post a Comment