Powershell module for Google / G Suite API calls wrapped in handy functions. Authentication is established using a service account via P12 key to negate the consent popup and allow for greater handsoff automation capabilities
Added: Get-GSDriveFile now supports specifying a full file path.
Fixed: Get-GSDriveFile will now replace any special path characters in the filename with underscores
Added: The File object returned by Get-GSDriveFile will now include an additional OutFilePath property if the file is downloaded. This property will contain the full path to the downloaded file.
Renamed: Get-GSTeamDrive has been changed to Get-GSDrive. Get-GSTeamDrive has been turned into an alias for Get-GSDrive to maintain backwards compatibility.
Replaced: SupportsTeamDrives = $true with SupportsAllDrives = $true on all functions that have it.
Miscellaneous
Fixed: Export-PSGSuiteConfig is faster due to safely assuming that the P12Key and/or ClientSecrets values have already been pulled from the corresponding keys.
Fixed: Incomplete documentation for Test-GSGroupMembership.
Added: UseDomainAdminAccess switch parameter to Get-GSTeamDrive
Removed: Get-GSUserLicenseListPrivate by rolling the List code into Get-GSUserLicense
Removed: Get-GSResourceListPrivate by rolling the List code into Get-GSResource
2.28.0
Get-GSDriveFile
now supports specifying a full file path.Get-GSDriveFile
will now replace any special path characters in the filename with underscoresGet-GSDriveFile
will now include an additionalOutFilePath
property if the file is downloaded. This property will contain the full path to the downloaded file.Fields
parameter onGet-GSDriveFile
andUpdate-GSDriveFile
were not being honored.Update-GSDriveFile
:CopyRequiresWriterPermission [switch]
Starred [switch]
Trashed [switch]
WritersCanShare [switch]
Update-GSChromeOSDevice
:AnnotatedAssetId [string]
AnnotatedLocation [string]
AnnotatedUser [string]
Notes [string]
Limit
parameter withFirst
alias to the followingList
functions:Get-GSActivityReport
Get-GSAdminRole
Get-GSAdminRoleAssignment
Get-GSCalendar
Get-GSCalendarAcl
Get-GSCalendarEvent
Get-GSChromeOSDevice
Get-GSDataTransferApplication
Get-GSDrive
Get-GSDriveFileList
Get-GSDrivePermission
Get-GSGmailMessageList
Get-GSGroup
Get-GSGroupMember
Get-GSMobileDevice
Get-GSResource
Get-GSTask
Get-GSTaskList
Get-GSUsageReport
Get-GSUser
Get-GSUserLicense
Get-GSTeamDrive
was not paginating through the results.Get-GSTeamDrive
has been changed toGet-GSDrive
.Get-GSTeamDrive
has been turned into an alias forGet-GSDrive
to maintain backwards compatibility.SupportsTeamDrives = $true
withSupportsAllDrives = $true
on all functions that have it.Export-PSGSuiteConfig
is faster due to safely assuming that the P12Key and/or ClientSecrets values have already been pulled from the corresponding keys.Test-GSGroupMembership
.UseDomainAdminAccess
switch parameter toGet-GSTeamDrive
Get-GSUserLicenseListPrivate
by rolling theList
code intoGet-GSUserLicense
Get-GSResourceListPrivate
by rolling theList
code intoGet-GSResource