Category Archives PowerShell

After deploying several event receivers to a variety of lists I found that one of the event receivers did not seem to be working, but instead was firing a old version of the DLL.

So, to check that it was indeed attached, I ran the following PowerShell command.

After running this I discovered that one of the event receivers had been attached to the list twice! I’m not entirely sure why or how this happened, but my problem was resolved by deleting the duplicate receivers and reattaching it once. Read more

Problem

If you are trying to use SharePoint PowerShell cmdlets from Window Powershell ISE platform and you have run into following error

Solution

Use InstallUtil located in C:\Windows\Microsoft.NET\Framework64\v2.0.50727 or v4.0.30319 and install library Microsoft.SharePoint.PowerShell.dll located in GAC. Read more

Close