As a SharePoint Administrator or Consultant there is always is problem in finding out the MySiteHost Url using a Powershell script. I know, there are a lot of Blogs out there using a SiteUrl, getting the SPServiceContext and connecting to the UserProfileManager...