Skip to content

Instantly share code, notes, and snippets.

@justrandomdev
Created November 3, 2016 16:33
Show Gist options
  • Save justrandomdev/402b04ba76b1033ae149f52ff6bfd098 to your computer and use it in GitHub Desktop.
Save justrandomdev/402b04ba76b1033ae149f52ff6bfd098 to your computer and use it in GitHub Desktop.

Revisions

  1. justrandomdev created this gist Nov 3, 2016.
    2 changes: 2 additions & 0 deletions iplog.ps1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    filter timestamp {"$(Get-Date -Format u): $_"}
    while(1) { curl http://icanhazip.com | select -ExpandProperty Content | timestamp; sleep(60) }