Archive for the ‘Powershell’ Category

Okay, before anyone comments on the simplicity of this posting. It merely t allow me to get the script easily in the future.  What’s the purpose of it? It basically retracts a solution and waits until its fully retracted, then deletes it, adds it in again and redeploys it. Not rocket science, but handy.  #Set [...]

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. $spWeb = Get-SPWeb –Identity <SharePointWebUrl> $spList = [...]

Today, while trying generate a model, using SPMetal, I found out that SPMetal does  not like spaces in the web URL. After trying the URL in quotes with the space and again with %20 in the string for the URL encoding seen below. Neither of them were able to find the application.  SPMetal /web: ”http://sharepoint/services/Rota [...]

Okay, so you try to search and your getting dreaded “Internal Server error exception” message seen below. This is not very helpful at all. However, the chances are, your search databases have somehow became corrupt To resolve this, I carried out the following steps. Note: All of the below assumes that you have called your [...]