Reputation: 6615
The best choice for me in this case is using powershell script, but other suggestions are welcome.
Get-MailboxServer can get the server name, but it is not the fully qualified name.
Thanks
Upvotes: 0
Views: 8542
Reputation: 58
fqdn is an attribute returned with the get-exchangeserver
cmdlet.
Try (get-exchangeserver MYEXCHANGESERVER).fqdn
Or just run get-exchangeserver | select fqdn
to view the fully qualified names for all servers in your environment.
Upvotes: 1
Reputation: 988
If you're trying to convert a NETBIOS name to the FQDN, this'll do the trick:
$o = Get-MailboxServer
([System.Net.Dns]::GetHostByName($o)).HostName
Upvotes: 1