Running the Install-ADRMS Cmdlet
Updated: October 22, 2009
Applies To: Windows Server 2008 R2, Windows Server 2008 R2 with SP1
After you create a Windows PowerShell drive and set properties on containers in the drive namespace, the final step in using Windows PowerShell cmdlets to install the first server in an Active Directory Rights Management Services (AD RMS) cluster is to run the Install-ADRMS cmdlet.
The Install-ADRMS cmdlet performs two principal functions:
It installs any prerequisite features or services that are not yet installed on the server.
It installs the AD RMS server role with the configuration settings represented by the properties set on containers in the drive namespace.
To run the Install-ADRMS cmdlet
At the Windows PowerShell command prompt, type:
where <drive> is the name of the Windows PowerShell drive.
You must set the current location to the root of the Windows PowerShell drive before running the Install-AD RMS cmdlet. The path supplied with the -Path parameter must be the same as the current location.