Enable-SPFeature does not trigger the feature receiver

Posted by Eric Bartels

Today I encountered the same problem as stated in a blog post by Christopher Maish. When activating the feature via powershell the associated feature receiver was not called. Trying the suggested solution in the blog post drove me to the cause of this problem. When using stsadm I got an “access denied” error. I did [...]

Using powershell to quickly debug SPSiteDataQuery

Posted by Eric Bartels

Writing CAML-Queries is still no fun. Even with SharePoint 2010… So you often need to test your queries before they actually work. In case you quickly want to test if your SPSiteDataQuery is correct you can use powershell to “debug” it. Just create an instance of the site-collection and target the root-web with your query-instance. [...]