Functions/Get-ExternalIpAddress.ps1
function Get-ExternalIpAddress { [CmdletBinding()] param ( ) $ip = Invoke-RestMethod http://ipinfo.io/json | Select-Object -ExpandProperty ip return $ip } |
function Get-ExternalIpAddress { [CmdletBinding()] param ( ) $ip = Invoke-RestMethod http://ipinfo.io/json | Select-Object -ExpandProperty ip return $ip } |