Skip to content
Spencer Varney edited this page Dec 9, 2016 · 2 revisions

This Cmdlet has been depreciated and discontinued as of v0.9.8

New-GAUserProperty

SYNOPSIS

SYNTAX

New-GAUserProperty [[-PropertyType] <GAUserPropertyType>] [-WhatIf] [-Confirm] -Type <GAUserAddressType>
 [-CustomType <String>] [-SourceIsStructured <Boolean>] [-Formatted <String>] [-PoBox <String>]
 [-ExtendedAddress <String>] [-StreetAddress <String>] [-Locality <String>] [-Region <String>]
 [-PostalCode <String>] [-Country <String>] [-Primary <Boolean>] [-CountryCode <String>]

DESCRIPTION

{{Fill in the Description}}

EXAMPLES

Example 1

PS C:\>  {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-PropertyType

Possible values: address, email, externalid, im, organization, phone, relation

Type: GAUserPropertyType
Parameter Sets: (All)
Aliases: 
Accepted values: address, email, externalid, im, organization, phone, relation

Required: False
Position: 0
Default value: Address
Accept pipeline input: False
Accept wildcard characters: False

-Country

Country.

Type: String
Parameter Sets: (All)
Aliases: 

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

-CountryCode

The country code. Uses the ISO 3166-1 standard.

Type: String
Parameter Sets: (All)
Aliases: 

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

-CustomType

If the address type is custom, this property contains the custom value.

Type: String
Parameter Sets: (All)
Aliases: 

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

-ExtendedAddress

For extended addresses, such as an address that includes a sub-region.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Formatted

A full and unstructured postal address.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Locality

The town or city of the address.

Type: String
Parameter Sets: (All)
Aliases: 

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

-PoBox

The post office box, if present.

Type: String
Parameter Sets: (All)
Aliases: 

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

-PostalCode

The ZIP or postal code, if applicable.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Primary

If this is the user's primary address. The addresses list may contain only one primary address.

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

-Region

The abbreviated province or state.

Type: String
Parameter Sets: (All)
Aliases: 

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

-SourceIsStructured

Indicates if the user-supplied address was formatted. Formatted addresses are not currently supported.

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

-StreetAddress

The street address, such as 1600 Amphitheatre Parkway. Whitespace within the string is ignored; however, newlines are significant.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Type

The address type. Allowed values are: custom, home, other, work

Type: GAUserAddressType
Parameter Sets: (All)
Aliases: 

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

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Clone this wiki locally