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 [...]
Archive for the ‘Powershell’ Category
Redeploying a SharePoint solution package
Posted: 5th October 2011 in Deployment, Powershell, Sharepoint 2010Checking if SharePoint Event Receivers are attached to a list using PowerShell.
Posted: 15th July 2011 in Powershell, Sharepoint 2010After 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 = [...]
SPMetal Error: Web cannot be found when URL has spaces or %20
Posted: 28th June 2011 in LINQ 2 Sharepoint, Powershell, Sharepoint 2010Today, 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 [...]