Skip Ribbon Commands
Skip to main content

Tom Resing's SharePoint Blog

:

Login
Tom Resing's Website > Tom Resing's SharePoint Blog > Posts > Creating ADRMS service discovery keys in PowerShell
January 27
Creating ADRMS service discovery keys in PowerShell

I’m trying to do more and more with PowerShell lately. I’ve found it’s a really quick way to make changes on Windows Server. Experimenting with Information Rights Management in SharePoint 2013, I needed to create 3 registry keys and set the value of 2.

Here’s a script example for setting the Windows Registry keys for client-side ADRMS service discovery:

New-Item -Path 'HKLM:\SOFTWARE\Microsoft\MSIPC\ServiceLocation'
New-Item -Path 'HKLM:\SOFTWARE\Microsoft\MSIPC\ServiceLocation\EnterprisePublishing'`
-value '
http://adrms.adventureworks.com/_wmcs/licensing/license.asmx'
New-Item -Path 'HKLM:\SOFTWARE\Microsoft\MSIPC\ServiceLocation\EnterpriseCertification'`
-value 'http://adrms.adventureworks.com/_wmcs/certification'

If you need to delete a key it’s just as easy:

Remove-Item -Path 'HKLM:\SOFTWARE\Microsoft\MSIPC\ServiceLocation\EnterpriseCertification'

Reference

Note AD RMS is the Active Directory Rights Management Service

Comments

There are no comments for this post.

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Name *


Comment *


Tom Resing


Type my name to verify you're a human

Attachments

 

 SharePoint 2013 Inside Out Early Release

 
Microsoft® SharePoint® 2013 Inside Out