Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Quixifi
1.0
Get-Publicip.ps1
function
get-publicip
{
[
CmdletBinding
(
)
]
param
(
$uri
=
"ipinfo.io"
)
Invoke-WebRequest
-Uri
$uri
|
Convertfrom-Json
|
select
IP
}