Get-PublicIP
SYNOPSIS
SYNTAX
Get-PublicIP [[-IP] <Object>] [<CommonParameters>]
DESCRIPTION
Returns WhoIS public IP info for your location or any specified public IP
EXAMPLES
EXAMPLE 1
Returns local Public IP Info
Get-PublicIP
EXAMPLE 2
Returns your Public IP Info
Get-PublicIP -IP 8.8.8.8
PARAMETERS
-IP
Specify an IP to get WhoIs info for
Type: System.Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.