Skip to content

Instantly share code, notes, and snippets.

@rupeshtiwari
Last active August 23, 2021 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rupeshtiwari/71f903f565bf61d2f5a9ccb5a72ed78c to your computer and use it in GitHub Desktop.
Save rupeshtiwari/71f903f565bf61d2f5a9ccb5a72ed78c to your computer and use it in GitHub Desktop.
Public IP Address powershell script

Run script to fetch what is your public ip address

(Invoke-WebRequest ifconfig.me/ip).Content.Trim() 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment