Which EPiServer CMS sites are installed on this server?
1) Open up the PowerShell prompt from the Start menu in Windows. On Windows Vista you have to right click and select "Run as administrator". If you have a 64-bit version of Windows make sure you select PowerShell (X86).
2) Activate the snap-in delivered with R2 (you will need to user another one for the upcoming SP1)
Add-PSSnapin EPiServer.Install.SnapIn.5.2.375.7
3) Run the command:
(Get-EPiWebServer).Sites | where {$_.EPiServerVersion -ne $null} | sort EPiServerVersion |ft SiteName,EPiServerVersion,PhysicalPath –auto
You get a very nice output displaying both site name, version and path.

More on the cmdlets here.
28 November 2008