Skip to content

Instantly share code, notes, and snippets.

@zhangr4
Created November 25, 2022 04:13
Show Gist options
  • Save zhangr4/ace9e24e9123b481eea6dc6a81e69041 to your computer and use it in GitHub Desktop.
Save zhangr4/ace9e24e9123b481eea6dc6a81e69041 to your computer and use it in GitHub Desktop.
windows PowerShell scripts
# get internal ip address
ipconfig
# get external ip address
Invoke-WebRequest ifconfig.me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment