Created
April 5, 2018 14:12
-
-
Save ScriptingPro/b15d5ab12f224e74f4cbe129e53f9ccf to your computer and use it in GitHub Desktop.
Use Misc .NET Classes and Methods from PowerShell
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