Get IIS Web Sites Powershell Script

What if you need to list all sites under IIS regardless of IIS version?