Created
March 29, 2018 22:06
-
-
Save ScriptingPro/bc292c89ee1496f460071c6d7fdc0661 to your computer and use it in GitHub Desktop.
Get FQDN DNS HostName of current Computer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[System.Net.Dns]::GetHostByName([System.Environment]::MachineName).HostName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment