Created
July 20, 2023 02:19
-
-
Save we684123/0197f402c0cf583b3f02f748ea996c1f to your computer and use it in GitHub Desktop.
windows_powershell_get_ip
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
$ipAddress = (Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias "乙太網路").IPAddress | |
Write-Host $ipAddress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment