Skip to content

Get-PublicIP

SYNOPSIS

Gets your public IP address.

SYNTAX

__AllParameterSets

Get-PublicIP [[-Provider] <Object>] [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

Gets your public IP address. You can specify a provider to use by using the Provider parameter.

EXAMPLES

EXAMPLE 1

Get-PublicIP

EXAMPLE 2

Get-PublicIP -Provider MyIP

PARAMETERS

-Provider

The provider to use to get the public IP address.

Type: System.Object
DefaultValue: IPInfo
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

{{ Fill in the related links here }}