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 add a server to an existing 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:

    Set-Location<drive>:\

    Install-ADRMS -Path .

    where <drive> is the name of the Windows PowerShell drive.

Important

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.

See Also

Concepts

Joining an Existing Cluster
Creating an AD RMS Server Windows PowerShell Drive
Setting Properties on Objects in the AD RMS Drive Namespace