< Back

Get-GDriveChildItem

Mon Jan 13, 2020 10:23 pm

NAME Get-GDriveChildItem



SYNOPSIS

Search GoogleDriver for items in selected ParentID





SYNTAX

Get-GDriveChildItem [[-ParentID] <String>] [-OrderBy <String[]>] [-NextPageToken <String>] [-PageSize <Int32>]

-AccessToken <String> [<CommonParameters>]



Get-GDriveChildItem [[-ParentID] <String>] [-AllResults] [-OrderBy <String[]>] [-PageSize <Int32>] -AccessToken

<String> [<CommonParameters>]





DESCRIPTION

Search GoogleDriver for items in selected ParentID





PARAMETERS

-ParentID <String>

Folder ID in which item will be searched



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AllResults [<SwitchParameter>]

Collect all results in one output



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-OrderBy <String[]>

Set output order



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-NextPageToken <String>

Supply NextPage Token from Previous paged search



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PageSize <Int32>

Set Page Size for paged search



Required? false

Position? named

Default value 100

Accept pipeline input? false

Accept wildcard characters? false



-AccessToken <String>

Access Token for request



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Json search result with items metadata as PSObject





NOTES





Author: Max Kozlov



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



PS C:\\>Get-GDriveItem -AccessToken $access_token -ParentID 'root'















RELATED LINKS

Find-GDriveItem