{"id":2451,"date":"2012-03-16T13:58:00","date_gmt":"2012-03-16T13:58:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2012\/03\/16\/install-powershell-web-access-on-non-english-machines\/"},"modified":"2024-02-28T11:37:18","modified_gmt":"2024-02-28T19:37:18","slug":"install-powershell-web-access-on-non-english-machines","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/install-powershell-web-access-on-non-english-machines\/","title":{"rendered":"Install PowerShell Web Access on non-English machines"},"content":{"rendered":"<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">We can check our emails, go on Facebook, and get news feeds on our favorite topics from anywhere and everywhere. Then why not manage our machines from everywhere as well! Windows Server 8 Beta brings you the new feature, Windows PowerShell Web Access, which provides a Windows PowerShell console in your web browser. What! If that\u2019s your reaction, check out <a href=\"http:\/\/blogs.msdn.com\/b\/powershell\/archive\/2012\/03\/07\/introducing-windows-powershell-web-access-in-windows-server-8-beta.aspx\"><span style=\"color: #0000ff;\">Introducing Windows PowerShell Web Access in Windows Server 8<\/span><\/a>.<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">This post offers a workaround for using Install-PswaWebApplication cmdlet on non-English Windows Server 8 Beta builds to install Windows PowerShell Web Access (aka PSWA). As a quick reminder, Windows PowerShell Web Access offers a Windows PowerShell cmdlet named Install-PswaWebApplication which automates post-installation configuration steps. So open Server Manager and get started!<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">After adding the feature via ARW in Server Manager or successfully running Install-WindowsFeature PS cmdlet, you will need to follow some additional configuration steps to complete feature installation. Install-PswaWebApplication is a Windows PowerShell cmdlet which offers a quick and easy way to setup the web application and the website in IIS. If no other parameters are specified, the cmdlet uses the default values of \u201cPSWA\u201d for application name, \u201cpswa_pool\u201d for the application pool name and \u201cDefault Web Site\u201d for the website. The values for application name and website name can be changed by specifying values for \u2013WebApplicationName and \u2013WebSiteName parameters for Install-PswaWebApplication cmdlet. They can also be changed manually under IIS. The application pool name may also be changed under IIS Manager.<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\"><a href=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/4428.p1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20432\" src=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/4428.p1.png\" alt=\"Image 4428 p1\" width=\"1025\" height=\"729\" srcset=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/4428.p1.png 1025w, https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/4428.p1-300x213.png 300w, https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/4428.p1-768x546.png 768w\" sizes=\"(max-width: 1025px) 100vw, 1025px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">On a non-English Beta build, if no values are provided for Install-PswaWebApplication, the cmdlet will fail. This is because the cmdlet tries to locate the localized equivalent for \u201cDefault Web Site\u201d in IIS Manager but in IIS Manager the root website name is always in English. The following is a picture of IIS Manager in a pseudo localized build \u2013<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\"><a href=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/2287.p1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20433\" src=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/2287.p1.png\" alt=\"Image 2287 p1\" width=\"1029\" height=\"727\" srcset=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/2287.p1.png 1029w, https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/2287.p1-300x212.png 300w, https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/2287.p1-1024x723.png 1024w, https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2012\/03\/2287.p1-768x543.png 768w\" sizes=\"(max-width: 1029px) 100vw, 1029px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">This problem exists only on non-English builds. If you want your website under the \u201cDefault Web Site\u201d container in IIS, here are 2 workarounds for that &#8211;<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">1. Provide the english string, &#8220;Default Web Site&#8221;, as a value for the parameter -WebSiteName. Therefore, for successful cmdlet execution, run the following &#8211;<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">Install-PswaWebApplication \u2013WebSiteName <b>\u201c<span style=\"color: #ff0000;\">Default Web Site<\/span>\u201d<\/b><\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">2. The second approach is to manually configure the website and the web application pool in IIS Manager. More details and instructions on how to set these up manually can be found in the <span class=\"hps\"><span lang=\"ES\" style=\"line-height: 115%;\"><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/hh831611.aspx\">Windows PowerShell Web Access help doc<\/a><\/span><\/span>.<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">If you have any feedback, you can send it directly to the Windows PowerShell Web Access feature team via the PowerShell Connect site: <\/span><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\"><a href=\"http:\/\/connect.microsoft.com\/powershell\">http:\/\/connect.microsoft.com\/powershell<\/a> <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">Kriti Jindal<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">Program Manager<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">Windows PowerShell Web Access<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: xx-small;\">Microsoft Corporation<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We can check our emails, go on Facebook, and get news feeds on our favorite topics from anywhere and everywhere. Then why not manage our machines from everywhere as well! Windows Server 8 Beta brings you the new feature, Windows PowerShell Web Access, which provides a Windows PowerShell console in your web browser. What! If [&hellip;]<\/p>\n","protected":false},"author":600,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[271,352],"class_list":["post-2451","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-powershell-web-access","tag-windows-server-2012"],"acf":[],"blog_post_summary":"<p>We can check our emails, go on Facebook, and get news feeds on our favorite topics from anywhere and everywhere. Then why not manage our machines from everywhere as well! Windows Server 8 Beta brings you the new feature, Windows PowerShell Web Access, which provides a Windows PowerShell console in your web browser. What! If [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/2451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/600"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=2451"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/2451\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=2451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=2451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=2451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}