AD RMS and PowerShell
PowerShell has been included in Windows Server 2008 R2. If you haven’t heard of it, it’s “a command-line shell and scripting language that helps IT professionals achieve greater productivity and control system administration more easily.” You can learn more about it at the PowerShell Website or at the PowerShell team’s blog.
The AD RMS team recently release a guide called Using Windows PowerShell with AD RMS:
This guide explains how to use the Windows PowerShell cmdlets that enable you to install, configure, and administer the AD RMS server role on a computer running Windows Server 2008 R2. It introduces the Windows PowerShell providers that implement AD RMS-specific cmdlets, describes the namespace that these cmdlets work in, and also shows how to use general-purpose cmdlets, such as Set-Itemproperty, to manipulate items in these namespaces that represent AD RMS settings.
If you need more information, you can also visit the reference documentation for the AD RMS cmdlets.