Commands for Retrieving SMTP Domains

I have problems with my hosted Exchange 2010. When creating a new organization, the parameter domain name will also be created but it is best to rename your organization to avoid any errors. Now, what I want to know is how can I get all the existing SMTP domains for all the organizations on Exchange? What are the commands to use in order to retrieve all the information needed? Help please.
