Create RMS PowerShell Provider for Administration

Create RMS PowerShell Provider for Administration

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:\TrustPolicy\TrustedUserDomain -WindowsLiveId

 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish