Often times you want to specify some kind policy/rule to be executed when something is changed in SharePoint. For example, check for name uniqueness when an item is added to a list, or make sure that certain properties of the item adhere to your rules, or update some other item in SharePoint – the list can go on and on. Now, thanks to the SharePoint PowerEventReceivers library you can write any of these policies as a PowerShell script!
What makes it even more cool is that this SharePoint extension is integrated with PowerGUI. So you can edit your SharePoint policies in the PowerGUI Script Editor with Intellisense, F1 help and other functionality of this IDE, and then simply save the script from PowerGUI and have it automatically updated in SharePoint.
Check out Christian’s video and other details in his blog post.
Tags: PowerGUI, PowerShell, SharePoint

Subscribe by email

0 Responses to “SharePoint Policies in PowerShell”