I have a new SharePoint deployment we are in the process of upgrading from SP2007 to SP2010. During the visual upgrade a lot of the branding element have been broken and the organisation has a requirement to maintain look and feel as much as possible. I am testing the upgrade process on a Dev server prior to conducting a full migration and upgrade of the live environment.
To fix the UI issues I have been using the following powershell script on the broken sites:
$web = get-spweb <URL goes here>
$web.UIVersion = 3
$web.UIVersionConfigurationEnabled = $true
$web.Update()
This works but I currently have to run the script with a new URL on every broken site I find. Is there any way I can modify the script to accept a list of URLs and modify them all at once?