IP verification & location

Test-EdgeDiagnosticsIP

Synopsis

Verify and locate an IP.

Syntax

Test-EdgeDiagnosticsIP [-IPAddress] <String> [-IncludeLocation] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Verifies if an IP belongs to an edge server and gets the geolocation data of its network.

For IPs verified positively, you can continue gathering diagnostic data with the New-EdgeDiagnosticsCurl, New-EdgeDiagnosticsDig, or New-EdgeDiagnosticsMTR operation.

The -IPAddress parameter is a single IP or a comma-separated string of up to 10 IPs.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑IPAddress
Required

The IP address(es) you want to get the data for.

‑IncludeLocation

Includes location information in the response.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links