Month: April 2010

SharePoint 2010: Stsadm to PowerShell Mappings

No Picture

Just a quick note – here’s a comparison of stsadm commands to PowerShell commandlets in SharePoint 2010. http://technet.microsoft.com/en-us/library/ff621084(office.14).aspx

Read More »

Pex & Moles with SharePoint – A Quick Example

No Picture

I recently demoed moles against the SharePoint 2007 object model. I demoed testing a contrived method that simple returned true if the number of items in a SharePoint list was greater than 20. Code is below…   private…

Read More »

QuickNote: Activating PowerShell ISE on Server 2008 R2

No Picture

To activate the PowerShell Integrated Scripting Environments on Windows Server 2008 R2 you need to add the feature as follows: Start –> Server Manager Features –> Add Feature Select “Windows PowerShell ISE” Click next and install You should…

Read More »

SharePoint 2010: Provisioning a new site using a custom template

No Picture

In SharePoint 2010, stps are no longer used. Instead site templates are saved as wsp files. To create a new site collection using one of these template through the UI, you need to create a site collection through…

Read More »

Quicknote: Extending a VHD

No Picture

Just a note as I’ve had to extend a fixed size VHD. I used http://code.msdn.microsoft.com/vhdtool to expand the actual VHD file. This extending the partition, but did not extend the volume. To complete the process, I needed to…

Read More »

Quicknote: Duplicate Menu Items in Visual Studio 2010

No Picture

Recently I had a weird issue with Visual Studio 2010 where menu items where duplicated. To resolve this I ran the following: devenv.exe /safemode /setup from the command line. Once this ran, I restarted Visual Studio and normal…

Read More »