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

Get-GShellUser

SYNOPSIS

Retrieve information on users for which gShell has saved (authentication) information.

SYNTAX

All (Default)

Get-GShellUser [-WhatIf] [-Confirm]

One

Get-GShellUser [[-UserEmail] <String>] [-WhatIf] [-Confirm]

Default

Get-GShellUser [-Default] [-WhatIf] [-Confirm]

Domain

Get-GShellUser [[-Domain] <String>] [-WhatIf] [-Confirm]

DESCRIPTION

Retrieve information on users for which gShell has saved (authentication) information.

EXAMPLES

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

PS C:\> Get-GShellUser

Return all users that have saved information.

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-GShellUser -Default

Return only the default user (for the default domain).

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

---------- EXAMPLE 3 ----------

PS C:\> Get-GShellUser -Domain "example.com"

Return users only for a particular domain.

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

---------- EXAMPLE 4 ----------

PS C:\> Get-GShellUser -UserEmail "[email protected]"

Return information for a specific user.

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

PARAMETERS

-UserEmail

The email address for a specific user account.

Type: String
Parameter Sets: One
Aliases: 

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

-Default

Return only the default user.

Type: SwitchParameter
Parameter Sets: Default
Aliases: 

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

-Domain

A domain to return all users for.

Type: String
Parameter Sets: Domain
Aliases: 

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

INPUTS

OUTPUTS

NOTES

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

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally