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

Get-GSharedContact

SYNOPSIS

Retrieve one or all shared contacts.

SYNTAX

all (Default)

Get-GSharedContact [-All] [[-ShowDeleted] <Boolean>] [[-MaxResults] <Int32>] [-Domain <String>]
 [-GAuthId <String>] [-WhatIf] [-Confirm]

one

Get-GSharedContact [-Id] <String> [-Domain <String>] [-GAuthId <String>] [-WhatIf] [-Confirm]

DESCRIPTION

Retrieve one or all shared contacts.

EXAMPLES

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

PS C:\> Get-GSharedContact -Id $SomeIdString

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.

---------- EXAMPLE 2 ----------

PS C:\> Get-GSharedContact -All

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

-Id

The id uri for a shared contact, e.g. https://www.google.com/m8/feeds/contacts/example.com/base/c9012de

Type: String
Parameter Sets: one
Aliases: 

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

-All

A switch to list all results.

Type: SwitchParameter
Parameter Sets: all
Aliases: 

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

-ShowDeleted

Include deleted contacts.

Type: Boolean
Parameter Sets: all
Aliases: 

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

-MaxResults

The maximum results to retrieve.

Type: Int32
Parameter Sets: all
Aliases: 

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

-Domain

The target domain for this shared contacts cmdlet.

Type: String
Parameter Sets: (All)
Aliases: 

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

-GAuthId

The GAuthId representing the gShell auth credentials this cmdlet should use to run.

Type: String
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.String

The target domain for this shared contacts cmdlet.

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