If you have a big site collection and some of the sub sites have not been upgraded to the UI version 4, then this powershell script will help:
# Gets the UI for each site in the
#create a txt file
"SitePath, SWebPath, UIVersion, UIVersion Configuration Enabled, MasterURL, Custom Master URL" > "UI-Version.txt" #Write the Headers in to a text file
$sc = Get-SPSite http://www.mySiteCollection.com; $sc.GetVisualReport() | Select-Object "SitePath", "SWebPath", "UIVersion", "UIVersion Configuration Enabled", "MasterURL", "Custom Master URL" >> UI-Version.txt
# Gets the UI for each site in the
#create a txt file
"SitePath, SWebPath, UIVersion, UIVersion Configuration Enabled, MasterURL, Custom Master URL" > "UI-Version.txt" #Write the Headers in to a text file
$sc = Get-SPSite http://www.mySiteCollection.com; $sc.GetVisualReport() | Select-Object "SitePath", "SWebPath", "UIVersion", "UIVersion Configuration Enabled", "MasterURL", "Custom Master URL" >> UI-Version.txt
No comments:
Post a Comment