Skip to content

Invoke GShellScopeManager

Spencer Varney edited this page Dec 27, 2016 · 3 revisions

Invoke-GShellScopeManager

SYNOPSIS

Run the interactive wizard for choosing an API's scopes.

SYNTAX

Invoke-GShellScopeManager [[-ApiName] <String>] [[-ApiVersion] <String>]
 [[-PreSelectScopes] <ScopeSelectionTypes>] [-StandardQueryParams <StandardQueryParameters>] [-WhatIf]
 [-Confirm]

DESCRIPTION

Run the interactive wizard for choosing an API's scopes. GShell is a collection of tools (Cmdlets) that are used by a specific email account. In addition to authenticating with that account, you also have to tell gShell what it is allowed to do for this account. This is what the scopes are for, and why you need to select them.

EXAMPLES

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

PS C:\> Invoke-GShellScopeManager

This 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

-ApiName

The API for which you would like to set or update the scopes.

Type: String
Parameter Sets: (All)
Aliases: 

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

-ApiVersion

The API version for which you would like to set or update the scopes.

Type: String
Parameter Sets: (All)
Aliases: 

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

-PreSelectScopes

The type of scopes you would like to preselect. Options are None, All, ReadOnly, or ReadWrite

Possible values: None, All, ReadOnly, ReadWrite

Type: ScopeSelectionTypes
Parameter Sets: (All)
Aliases: 
Accepted values: None, All, ReadOnly, ReadWrite

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

-StandardQueryParams

A Standard Query Parameters Object.

Type: StandardQueryParameters
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
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