/* BeejBløg */

Jan 27, 2009 - 1 minute read - Comments

Nifty 'WhatIsMyIP' Script – put current WAN IP on Clipboard

Pre-req’s:

  • 4NT – love love love that little bugger… but i guess PowerShell is probably the new cool kid in town for this kind of stuff 
    • ‘echos’ command in 4NT outputs test w/o a linefeed… so I can tack something else I wanted onto the URL… obviously the sky is your limit (can’t find the equivalent in PowerShell yet??)
  • curl – everybody’s favorite web mashup tool

echos https:// >clip:
curl -s “https://whatismyip.org" >>clip:
echos /training >>clip: