IPCheck batch script

How to Retrieve Your Public IP Address Using Batch Scripting

This blog post could provide a step-by-step tutorial on how to use the batch script to retrieve your public IP address

IPCheck.bat

Result

PS C:\Users\Dev\Desktop> .\GetMyIP.bat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    55    0    55    0     0    137      0 --:--:-- --:--:-- --:--:--   137
My IP address: 35.xxx.xxx.xxx