Tuesday, March 27, 2012

Simple concept: SharePoint 2010 Visual Upgrade Powershell


How do I visual upgrade 2010 my all 2007 web sites using PowerShell?


 Get-Spsite -Limit All | % { $_.VisualUpgradeWebs() }

In case you need to revert changes:

$web = Get-SPWeb "{your spweb url}"

Further reading:

Simple concept: How to use SharePoint cmdlets in PowerShell ISE [Question]:

The source on inspiration: Automating SharePoint 2010 with Windows PowerShell 2.0