OCSetup and DISM: Component Names
If you want to install windows features by script you have to use one of the tool OCSETUP oder DISM. E.g. start /w ocsetup <component name or dism /online /enable…
SharePoint, PowerShell & dev notes by Ingo Karstein
152 articles since 2010 · page 15 of 16
If you want to install windows features by script you have to use one of the tool OCSETUP oder DISM. E.g. start /w ocsetup <component name or dism /online /enable…
I tried to create a new SharePoint Server 2010 farm by using PowerShell cmdlet “New SPConfigurationDatabase” in one of the first steps. I got this error: New…
If you load an CSV file with import csv you will end up with an object of type System.Management.Automation.PSCustomObject . It’s an array. In such a case I liked to use such an…
After renaming my SharePoint 2010 from an old to a new URL I could not longer access any project from this server. The error message looked like this: “Could not retrieve…
If you develop a SharePoint Application with Visual Studio 2010, e.g. a Console Aplication, you may get an FileNotFoundException. For example in this code (program.cs): I’ve maked…
You can active Claim Based Authentication for a SharePoint Web App afterwards if you missed that at creation time. Use this PowerShell script:
I got this message in the ULS log: The following PowerShell script will do that for me – and you : )
Here is a script I used to add some web.config modifications with PowerShell. In this case I want to add a custom authentication provider. The following script I used for setup…
After updating the SharePoint Foundation 2010 Server of our company to SharePoint Server 2010 I got this error in the Event Viewer: I could solve this error by re enabling the…
In the last weeks I’ve extended the sample project that I’ve created for “Ribbon Customization”. You find the project source code on Codeplex:…