< Back

Test-PartnerAddress

Sat Jan 18, 2020 6:38 pm

NAME Test-PartnerAddress



SYNOPSIS

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.





PARAMETERS

-AddressLine1 <String>

The first line of the address.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-AddressLine2 <String>

The second line of the adress.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-City <String>

The city portion of the address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Country <String>

The country portion of the address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PostalCode <String>

The postal code portion of the address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Region <String>

The region portion of the address.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-State <String>

The state portion of the address.



Required? false

Position? named

Default value None

Accept pipeline input? False

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

None







OUTPUTS

System.Boolean







NOTES









-------------------------- 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.







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... nerAddress