Sharing the experience search

Search sharing-the-experience.blogspot.com

Tuesday, March 27, 2012

Simple concept: SharePoint 2010 Visual Upgrade Powershell

[Question]:

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

[Answer]:

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


In case you need to revert changes:


$web = Get-SPWeb "{your spweb url}"
$web.UIVersion=3
$web.Update()


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  

No comments:

Post a Comment