Skip to content

New GSharedContactImObj

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

New-GSharedContactImObj

SYNOPSIS

Create a new shared contact im object.

SYNTAX

New-GSharedContactImObj [-Address] <String> [[-Label] <String>] [[-Rel] <ImRelEnum>]
 [[-Protocol] <ImProtocolEnum>] [[-Primary] <Boolean>] [-WhatIf] [-Confirm]

DESCRIPTION

Create a new shared contact im object.

EXAMPLES

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

PS C:\> New-GSharedContactImObj

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

IM address.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Label

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

Type: String
Parameter Sets: (All)
Aliases: 

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

-Rel

A programmatic value that identifies the type of IM.

Possible values: home, netmeeting, other, work

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

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

-Protocol

Identifies the IM network. The value may be either one of the standard values or a URI identifying a proprietary IM network.

Possible values: AIM, MSN, YAHOO, SKYPE, QQ, GOOGLE_TALK, ICQ, JABBER

Type: ImProtocolEnum
Parameter Sets: (All)
Aliases: 
Accepted values: AIM, MSN, YAHOO, SKYPE, QQ, GOOGLE_TALK, ICQ, JABBER

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

-Primary

When multiple IM extensions appear in a contact kind, indicates which is primary. At most one IM 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