I stumbled on this on a fresh VM of Windows 7 installed today to run a legacy App that uses SQL Server Express 2005 and plucked this line of script out of my SharePoint knowledgebase after 5 minutes of headscratching.

Hope this helps somebody out there.

Enjoy, but remember no warranty expressed or implied and use at your own risk!