SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having trouble deploying a Custom Retention Policy, and have ended up with a hanging policy resource that is keeping me from activating the retention policy. I was wondering if there was a way to remove this in powershell. The way this is done in C# is:

using Microsoft.Office.RecordsManagement.InformationPolicy;

Is there a way to do this in powershell?

share|improve this question
up vote 1 down vote accepted
Add-PSSnapin Microsoft.SharePoint.PowerShell

share|improve this answer
Thank you, sir. Worked like a charm. Wish powershell had more succinct access to other assemblies, though. – xdhmoore Dec 15 '11 at 20:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.