Share via


Test-PartnerAddress

Tests whether or not the specified address is valid.

Syntax

Test-PartnerAddress
    -AddressLine1 <String>
    [-AddressLine2 <String>]
    [-City <String>]
    [-Country <String>]
    [-PostalCode <String>]
    [-Region <String>]
    [-State <String>]
    [<CommonParameters>]

Description

Tests whether or not the specified address is valid.

Examples

Example 1

PS C:\> Test-PartnerAddress -AddressLine1 '700 Bellevue Way NE' -City 'Bellevue' -Country 'US' -PostalCode '98004' -State 'WA'

Tests whether or not the specified address is valid.

Parameters

-AddressLine1

The first line of the address.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-AddressLine2

The second line of the adress.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-City

The city portion of the address.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Country

The country portion of the address.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PostalCode

The postal code portion of the address.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Region

The region portion of the address.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-State

The state portion of the address.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Boolean