Skip to content

New GSharedContactEmailObj

Spencer Varney edited this page Dec 9, 2016 · 4 revisions

New-GSharedContactEmailObj

SYNOPSIS

Create a new shared contact email object.

SYNTAX

New-GSharedContactEmailObj [-Address] <String> [[-DisplayName] <String>] [[-Label] <String>]
 [[-Rel] <EmailRelEnum>] [[-Primary] <Boolean>] [-WhatIf] [-Confirm]

DESCRIPTION

Create a new shared contact email object.

EXAMPLES

---------- EXAMPLE 1 ----------

PS C:\> New-GSharedContactEmailObj

This automatically generated example serves to show the bare minimum required to call this Cmdlet.

Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.

PARAMETERS

-Address

Email address.

Type: String
Parameter Sets: (All)
Aliases: 

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

-DisplayName

A display name of the entity (e.g. a person) the email address belongs to.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Label

A simple string value used to name this email address. It allows UIs to display a label such as "Work", "Personal", "Preferred", etc.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Rel

A programmatic value that identifies the type of email.

Possible values: home, other, work

Type: EmailRelEnum
Parameter Sets: (All)
Aliases: 
Accepted values: home, other, work

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

-Primary

When multiple email extensions appear in a contact kind, indicates which is primary. At most one email may be primary. Default value is "false".

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

INPUTS

OUTPUTS

NOTES

Part of the gShell Project, relating to the Google Shared Contacts API; see Related Links or use the -Online parameter.

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally