![]() Note: To run this command, you need to have Enterprise Admin privileges.ĭ. Add the license server to the Terminal Server License Servers group on the domain controller by using the following command: refers to the number of licenses that you want to install.Ĭ. It has three possible values:Ģ - Windows Server 2008 or Windows Server 2008 R2 Where refers to the Agreement Number for the licenses, refers to the version of the licenses. PS RDS:LicenseServerLicenseKeyPacks> New-Item -path RDS:LicenseServerLicenseKeyPacks -InstallOption INSTALL -ConnectionMethod AUTO -LicenseType AGREEMENT -AGREEMENTTYPE 0 -AGREEMENTNUMBER -PRODUCTVERSION -PRODUCTTYPE -LICENSECOUNT Install the Select License Key Pack by using the following command: It has 6 possible values:ĥ - The server is being activated for the first timeī. Where specifies the reason for activation of the license server. ActivationStatus -Value 1 -ConnectionMethod AUTO -Reason Activate the license server using the Automatic Connection method with the following command: To the correct directory before executing the command.Ī. When using Powershell commands, make sure that you execute them from the correct path. In the PowerShell command window, type the following: cd RDS:Īfter you do this, you will see a Windows PowerShell window with the prompt set to the RDS drive.įollowing are two examples for configuring a server with Windows PowerShell: Right-click Windows PowerShell Modules, and then click Run as Administrator. ![]() Start the Windows PowerShell command window and switch to RDS context:Ĭlick Start, click All Programs, and then click Administrative Tools.Install the required Remote Desktop Services feature (that is,.You can write Windows PowerShell scripts to automate the setup deployment per your requirements. As you might already know, Windows PowerShell provides an easy scripting interface for performing administrative tasks. This post assumes that you have a basic understanding of Windows PowerShell. This post gives examples of how you can use this new feature to manage Remote Desktop Licensing (RD Licensing). Remote Desktop Services Provider for Windows PowerShell™ In Windows Server® 2008 R2, we introduced the First published on CloudBlogs on Apr, 07 2010
0 Comments
Leave a Reply. |