﻿{"id":540,"date":"2014-02-06T13:02:02","date_gmt":"2014-02-06T16:02:02","guid":{"rendered":"http:\/\/binsfeld.com.br\/wp\/?p=540"},"modified":"2014-02-06T13:02:02","modified_gmt":"2014-02-06T16:02:02","slug":"licencias-rds-no-windows-2012-com-ad","status":"publish","type":"post","link":"http:\/\/binsfeld.com.br\/wp\/?p=540","title":{"rendered":"Licencias RDS no Windows 2012 com AD"},"content":{"rendered":"<p>To configure the\u00a0<b><span style=\"text-decoration: underline;\">license server<\/span><\/b>\u00a0on RDSH\/RDVH:<\/p>\n<blockquote><p><span style=\"color: #ff0000;\">$obj = gwmi -namespace &#8220;Root\/CIMV2\/TerminalServices&#8221; Win32_TerminalServiceSetting<\/span><\/p>\n<p><span style=\"color: #ff0000;\">$obj.SetSpecifiedLicenseServerList(&#8220;License.contoso.com&#8221;)<\/span><\/p><\/blockquote>\n<p><b>Note<\/b>\u00a0\u201cLicense\u201d is the name of the License Server in the environment<\/p>\n<p>To verify the license server configuration on RDSH\/RDVH:<\/p>\n<blockquote><p><span style=\"color: #ff0000;\">$obj = gwmi -namespace &#8220;Root\/CIMV2\/TerminalServices&#8221; Win32_TerminalServiceSetting<\/span><\/p>\n<p><span style=\"color: #ff0000;\">$obj.GetSpecifiedLicenseServerList()<\/span><\/p><\/blockquote>\n<p>To change the\u00a0<b><span style=\"text-decoration: underline;\">licensing mode<\/span><\/b>\u00a0on RDSH\/RDVH:<\/p>\n<blockquote><p><span style=\"color: #ff0000;\">$obj = gwmi -namespace &#8220;Root\/CIMV2\/TerminalServices&#8221; Win32_TerminalServiceSetting<\/span><\/p>\n<p><span style=\"color: #ff0000;\">$obj.ChangeMode(value) &#8211; Value can be 2 &#8211; per Device, 4 &#8211; Per user<\/span><\/p><\/blockquote>\n<p>To validate the licensing mode:<\/p>\n<blockquote><p><span style=\"color: #ff0000;\">$obj = gwmi -namespace &#8220;Root\/CIMV2\/TerminalServices&#8221; Win32_TerminalServiceSetting<\/span><\/p>\n<p><span style=\"color: #ff0000;\">$obj. LicensingType<\/span><\/p>\n<p><span style=\"color: #ff0000;\">$obj.LicensingName<\/span><\/p>\n<p>Cr\u00e9ditos:\u00a0http:\/\/blogs.technet.com\/b\/askperf\/archive\/2013\/09\/20\/rd-licensing-configuration-on-windows-server-2012.aspx<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>To configure the\u00a0license server\u00a0on RDSH\/RDVH: $obj = gwmi -namespace &#8220;Root\/CIMV2\/TerminalServices&#8221; Win32_TerminalServiceSetting $obj.SetSpecifiedLicenseServerList(&#8220;License.contoso.com&#8221;) Note\u00a0\u201cLicense\u201d is the name of the License Server in the environment To verify the license server configuration on<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-540","post","type-post","status-publish","format-standard","hentry","category-windows-server"],"_links":{"self":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/540"}],"collection":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=540"}],"version-history":[{"count":1,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/540\/revisions"}],"predecessor-version":[{"id":541,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/540\/revisions\/541"}],"wp:attachment":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=540"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}