Cmdlets for Gmail

Build 25.0.9434

Scope Parameter (Connect-Gmail Cmdlet)

When this is set, the provider will request an access token with this specific scope.

Syntax

Connect-Gmail -Scope string

Data Type

cstr

Default Value

""

Remarks

Scopes are set to define what kind of access the authenticating user will have; for example, read, read and write, restricted access to sensitive information. System administrators can use scopes to selectively enable access by functionality or security clearance.

When InitiateOAuth is set to GETANDREFRESH, you must use this property if you want to change which scopes are requested.

When InitiateOAuth is set to either REFRESH or OFF, you can change which scopes are requested using either this property or the Scope input.

Set this property to retrieve a scoped token with specific privileges.

This is a required parameter.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434