{"id":3410,"date":"2012-03-05T16:59:31","date_gmt":"2012-03-05T14:59:31","guid":{"rendered":"https:\/\/ingmarverheij.com\/?p=3410"},"modified":"2012-03-23T16:21:32","modified_gmt":"2012-03-23T14:21:32","slug":"change-xenapp-6-5-edition-via-powershell","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/change-xenapp-6-5-edition-via-powershell\/","title":{"rendered":"Change XenApp 6.5 edition via PowerShell"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"\" border=\"0\" alt=\"\" align=\"right\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/landing_xenapp.jpg\" width=\"119\" height=\"92\" \/>If you wanted to change the product edition (Advanced \/ Enterprise \/ Platinum) of a Citrix XenApp (4, 5 of 6.0) server this was done per server. How you can change the product edition is explained in this <a href=\"https:\/\/blogs.citrix.com\/2010\/06\/10\/how-to-change-the-server-edition-of-xenapp-from-enterprise-to-platinum-and-consume-citrix-platinum-licenses\/\" target=\"_blank\">article<\/a> on Citrix Blogs. In Citrix XenApp <strong>6.0<\/strong> this was done either via the console of via a PowerShell cmdlet called <strong>Set-XAServerEdition<\/strong>.&#160; Since the product edition in XenApp 6.5 is no longer set&#160; per server (but via a Policy) this cmdlet is removed.<\/p>\n<p><!--more--><\/p>\n<h4>Policy<\/h4>\n<p>The preferred way of setting the product version in Citrix XenApp 6.5 is via the Delivery Services Console (navigate to Policies &gt; Computer &gt; Server Settings).<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/GPO1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/GPO_thumb1.png\" width=\"154\" height=\"116\" \/><\/a><\/p>\n<h4>&#160;<\/h4>\n<h4>Set-XAServerEdition<\/h4>\n<p>If you try to run the Set-XAServerEdition cmdlet on a Citrix XenApp 6.5 server you get the following error:<\/p>\n<pre lang=\"powershell\">&gt; Add-PSSnapin Citrix.XenApp.Commands\n&gt; Set-XAServerEdition -ServerName (servername) -Edition Enterprise\n\nThe term 'Set-XAServerEdition' is not recognized as the name of a cmdlet, function, script file, or operable program. C\nheck the spelling of the name, or if a path was included, verify that the path is correct and try again.\nAt line:1 char:20\n+ Set-XAServerEdition &lt;&lt;&lt;&lt;  -ServerName (servername) -Edition Platinum\n    + CategoryInfo          : ObjectNotFound: (Set-XAServerEdition:String) [], CommandNotFoundException\n    + FullyQualifiedErrorId : CommandNotFoundException<\/pre>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/PowerShell-Set-XAServerEdition.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"\" border=\"0\" alt=\"\" align=\"left\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/PowerShell-Set-XAServerEdition_thumb.png\" width=\"201\" height=\"64\" \/><\/a><\/p>\n<h4>&#160;<\/h4>\n<h4>&#160;<\/h4>\n<h4>&#160;<\/h4>\n<h4>&#160;<\/h4>\n<h4>Set-ItemProperty<\/h4>\n<p>In Citrix XenApp 6.5 the product edition needs to be set via a computer policy, for example in the Unfiltered policy that is always present. A policy can be configured via the <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dd315383.aspx\" target=\"_blank\">Set-ItemProperty<\/a> cmdlet.<\/p>\n<pre lang=\"powershell\">&gt; Add-PSSnapin Citrix.Common.GroupPolicy\n&gt; Set-ItemProperty LocalFarmGpo:\\Computer\\Unfiltered\\Settings\\ServerSettings\\ProductEdition -Name Value -Value Enterprise<\/pre>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/Product-edition-Before.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/Product-edition-Before_thumb.png\" width=\"145\" height=\"64\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/PowerShell-Set-ItemProperty.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/PowerShell-Set-ItemProperty_thumb.png\" width=\"201\" height=\"64\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/Product-edition-After.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/03\/Product-edition-After_thumb.png\" width=\"145\" height=\"64\" \/><\/a><\/p>\n<p>&#160;<\/p>\n<h4>Registry<\/h4>\n<p>You can find (and set) the product edition in the windows registry in the value <font face=\"Courier New\">ProductFeature<\/font> under the key <font face=\"Courier New\">HKLM\\SYSTEM\\CurrentControlSet\\Control\\Citrix<\/font>. The following values are possible:<\/p>\n<ul>\n<li>ADV : Advanced<\/li>\n<li>ENT : Enterprise<\/li>\n<li>PLT : Platinum<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>If you wanted to change the product edition (Advanced \/ Enterprise \/ Platinum) of a Citrix XenApp (4, 5 of 6.0) server this was done per server. How you can change the product edition is explained in this article on Citrix Blogs. In Citrix XenApp 6.0 this was done either via the console of via [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[152],"tags":[667,672,410],"class_list":["post-3410","post","type-post","status-publish","format-standard","hentry","category-powershell","tag-citrix","tag-powershell","tag-set-xaserveredition"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=3410"}],"version-history":[{"count":4,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3410\/revisions"}],"predecessor-version":[{"id":3565,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3410\/revisions\/3565"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=3410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=3410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=3410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}