Get-PokeAPIMetaData

SYNOPSIS

Gets various Api metadata values

SYNTAX

__AllParameterSets

Get-PokeAPIMetaData [[-BaseURI] <string>]

ALIASES

This cmdlet has the following aliases,

  • Get-PokeMetaData

DESCRIPTION

The Get-PokeAPIMetaData cmdlet gets various Api metadata values from an Invoke-WebRequest to assist in various troubleshooting scenarios such as connectivity or status code checks.

EXAMPLES

EXAMPLE 1

Get-PokeAPIMetaData

Gets various Api metadata values from an Invoke-WebRequest to assist in various troubleshooting scenarios.

The default full base uri test path is: https://pokeapi.co/api/v2

EXAMPLE 2

Get-PokeAPIMetaData -BaseURI http://myapi.gateway.example.com

Gets various Api metadata values from an Invoke-WebRequest to assist in various troubleshooting scenarios.

The full base uri test path in this example is: http://myapi.gateway.example.com/

PARAMETERS

-BaseURI

Define the base URI for the PokeAPI connection using PokeAPI’s URI or a custom URI.

The default base URI is https://pokeapi.co/api/v2

Type: System.String
DefaultValue: $PokeAPIModuleBaseUri
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: true
  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

System.String

OUTPUTS

NOTES

The Get-PokeMetaData alias is kept for older scripts.