0626.html 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install and Configure Powershell Web Access on Windows Server</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Remote Management,Microsoft,Free,Web Based Utilities,Windows,PowerShell,PowerShell Web Access,IIS,Internet Information Services,Microsoft Windows,Web Server,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install and Configure Powershell Web Access on Windows Server">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="12/28/2022 10:01:22 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install and Configure Powershell Web Access on Windows Server</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is PowerShell Web Access?</h2>
  26. <blockquote><em>Windows PowerShell&reg; Web Access, first introduced in Windows Server&reg; 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. -<a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831611(v=ws.11)" target="_blank">https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831611(v=ws.11)</a></em></blockquote>
  27. <h2>Install PowerShell Web Access</h2>
  28. <ol>
  29. <li>Log into the Windows Server device</li>
  30. <li>Run the following commands in PowerShell as administrator
  31. <div class="codeBlock PS"># install IIS and powershell web access<br />
  32. Add-WindowsFeature &ndash;name Web-Server,WindowsPowerShellWebAccess -IncludeManagementTools<br />
  33. # configure powershell web access gateway<br />
  34. Install-PswaWebApplication &ndash;webApplicationName powershell &ndash;useTestCertificate<br />
  35. # grant PSWA access to current user on current server<br />
  36. Add-PswaAuthorizationRule -UserName $ENV:UserDNSDomain\$ENV:UserName -ComputerName * -ConfigurationName *<br />
  37. # or grant access to all users<br />
  38. Add-PswaAuthorizationRule * * *</div>
  39. </li>
  40. <li>Open a web browser and navigate to https://DNSorIP/powershell</li>
  41. <li>Login using the credentials authorized above
  42. <p>User name: &lt;domain&gt;\&lt;username&gt;<br />
  43. Password: &lt;user password&gt;<br />
  44. Connection type: Computer Name<br />
  45. Computer name: &lt;fully qualified server name&gt;<br />
  46. <br />
  47. User name: i12bretro.local\i12bretro<br />
  48. Password: &lt;user password&gt;<br />
  49. Connection type: Computer Name<br />
  50. Computer name: i12bretrodc.i12bretro.local</p>
  51. </li>
  52. <li>Click Sign In</li>
  53. <li>Welcome to Powershell Web Access</li>
  54. </ol>
  55. <p>Source: <a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831611(v=ws.11)" target="_blank">https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831611(v=ws.11)</a><br />
  56. More Info: <a href="https://docs.microsoft.com/en-us/previous-versions//hh918342(v=technet.10)?redirectedfrom=MSDN" target="_blank">https://docs.microsoft.com/en-us/previous-versions//hh918342(v=technet.10)?redirectedfrom=MSDN</a></p> </div>
  57. </div>
  58. </body>
  59. </html>