< Back
Get-BiaCountryByAlpha2
Post
NAME Get-BiaCountryByAlpha2
SYNOPSIS
Get a country by ISO 3166-1 alpha 2 code.
SYNTAX
Get-BiaCountryByAlpha2 [-Alpha2] <String> [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Alpha2 <String>
Specifies an alpha 2 code to look for. If code does not exist, a null is returned.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Bia.Countries.Iso3166Country
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$usa = Get-BiaCountryByAlpha2 US
RELATED LINKS
SYNOPSIS
Get a country by ISO 3166-1 alpha 2 code.
SYNTAX
Get-BiaCountryByAlpha2 [-Alpha2] <String> [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Alpha2 <String>
Specifies an alpha 2 code to look for. If code does not exist, a null is returned.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Bia.Countries.Iso3166Country
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$usa = Get-BiaCountryByAlpha2 US
RELATED LINKS