I'd like to run a script report back what IIS Sites are SharePoint and which ones are normal sites.
Using the following command in powershell, I get a long list of properties of the application pool, but there is no uniqueness between what sites are SharePoint sites and which ones are not.
get-wmiobject -class IISApplicationPoolSetting -namespace "root\microsoftiisv2"
-computername $server -authentication 6