By Code
  • Home
  • About
Sign in Subscribe

2010

A collection of 2 posts
SharePoint

Add / Remove event receivers to list / content types in SharePoint with PowerShell

Although it's simple but it's a little bit tricky. Adding / removing an event receiver to a list and content type is the same you just need to use the appropriate collection is an SPWeb object. Here is how to add / remove an event receiver to / from
05 Oct 2012 1 min read
SharePoint

How to view / change web site properties in SharePoint by PowerShell

In SharePoint, Property bags are usually used to store values / configurations related to a web site. Reading / Writing them via PowerShell is really easy just fire up "SharePoint 2010 Management Shell" from the Start Menu and type the following commands: $web = Get-SPWeb "http://yourwebsite" $web.Properties[
26 Jul 2012
Page 1 of 1
By Code © 2026
  • Sign up
Powered by Ghost