Powershell script to get external IP address
Below is the Powershell which may come in handy at time where you don't have Static IP
$ExternalIPAddress = (Invoke-WebRequest -Uri 'http://checkip.dyndns.com').Content -replace '[^\d\.]'
$ExternalIPaddress # This will display the external IP address assigned to themachine
Pretty Cool aha!!
0 comments :