And you will get output similar to this:PS C:\Users\administrator> Get-SPAlternateURL

And you will get output similar to this:

cmdlet New-SPAlternateURL at command pipeline position 1 Supply values for the following parameters: WebApplication:
In WebApplication type the old URL: WebApplication: http://servername01:9090

And you will get output similar to this:

IncomingUrl Zone
P
ublicUrl
http://servername02:9090 Default
http://servername02:9090
Do the same for servername01 if needed. You check the changes by running this command: Get-SPAlternateURL