Create RMS PowerShell Provider for Administration
In this FAQ, learn how to work with RMS from PowerShell.
John Savill
July 26, 2013
1 Min Read
Q: I'm trying to configure Rights Management Services (RMS) using Windows PowerShell, but its unclear how I create the PSDrive for the RMS administration that the cmdlets need. What do I do?
A: The RMS cmdlets primarily use a drive that exposes the RMS configuration. However, it might not be obvious how to actually create the drive that's then usable.
The drive is created by using the New-PSDrive cmdlet, and you specify AdRmsAdmin as the provider, then the URL of the RMS administration site, for example:
New-PSDrive -PSProvider AdRmsAdmin -Name z -Root https://rms.savilltech.net:443/_wmcs/admin
This can then be used in the RMS commands, for example:
Import-RmsTUD -Path z:TrustPolicyTrustedUserDomain -WindowsLiveId
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like