Cmdlets for Google Drive

Build 25.0.9434

SupportsAllDrives Parameter (Connect-GoogleDrive Cmdlet)

Determines whether the request supports All Drives.

Syntax

Connect-GoogleDrive -SupportsAllDrives SwitchParameter

Data Type

bool

Default Value

false

Remarks

By default, items from shared drives or My Drive, including the drives themselves and the data within them, are not included in the API responses. When SupportsAllDrives is set to True, the CData Cmdlets PowerShell Module for Google Drive returns data from all drives that the user has access to. If you want to narrow your search, you can add a filter to your query. For example, adding a DriveId filter will limit the results to a specific drive.

This property is useful when working with files or folders in shared drives or stored in My Drive.

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