Updated 9 months ago
PowerShell command to get the fully-qualified local machine's DNS name.
[System.Net.DNS]::GetHostByName('').HostName