-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue] Get-GSTeamDrive not paginating through results #196
Comments
Sorry to jump in, but i tried using:
Get-GSTeamDrivesList -Filter *
but i get an error. Is this related?
…On Thu, May 30, 2019 at 1:31 PM Nate Ferrell ***@***.***> wrote:
Working:
[image: image]
<https://user-images.githubusercontent.com/12724445/58610747-3e9efc00-8272-11e9-9158-b87cc9568fd0.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#196>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIEAEMTLYFZLSHVY2GLPJ5DPX5RDPANCNFSM4HQWMD4A>
.
--
*Samuel QUEK*
*IT Associate Director*
*Taipei American School*
800 Chung Shan N. Rd., Section 6 | Taipei | Taiwan ROC 11152
Tel: 886-2-2873-9900 ext 286
www.tas.edu.tw
*TAS is Green:* Please consider the environment before printing this email.
--
Confidentiality Notice: The information contained in this message may
be
privileged and confidential and protected from disclosure. If the reader
of
this message is not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, you are
hereby notified
that any dissemination, distribution, or copying of this
communication is
strictly prohibited. If you have received this
communication in error, please
notify us immediately by replying to the
message and deleting it from your
computer. Thank you.
|
Hey @queks - That's actually invalid search syntax for Drive. That being said, just run |
…, #197 (#198) ## 2.28.0 * [Issue #188](#188) * 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. * [Issue #190](#190) * Fixed: `Fields` parameter on `Get-GSDriveFile` and `Update-GSDriveFile` were not being honored. * [Issue #192](#192) * Added: Parameters to `Update-GSDriveFile`: * `CopyRequiresWriterPermission [switch]` * `Starred [switch]` * `Trashed [switch]` * `WritersCanShare [switch]` * [Issue #194](#194) * Added: Parameters to `Update-GSChromeOSDevice`: * `AnnotatedAssetId [string]` * `AnnotatedLocation [string]` * `AnnotatedUser [string]` * `Notes [string]` * [Issue #195](#195) * Added: `Limit` parameter with `First` alias to the following `List` 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` * [Issue #196](#196) * Fixed: `Get-GSTeamDrive` was not paginating through the results. * [Issue #197](#197) * 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`
…, #197 ## 2.28.0 * [Issue #188](#188) * 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. * [Issue #190](#190) * Fixed: Fields parameter on Get-GSDriveFile and Update-GSDriveFile were not being honored. * [Issue #192](#192) * Added: Parameters to Update-GSDriveFile: * CopyRequiresWriterPermission [switch] * Starred [switch] * Trashed [switch] * WritersCanShare [switch] * [Issue #194](#194) * Added: Parameters to Update-GSChromeOSDevice: * AnnotatedAssetId [string] * AnnotatedLocation [string] * AnnotatedUser [string] * Notes [string] * [Issue #195](#195) * Added: Limit parameter with First alias to the following List 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 * [Issue #196](#196) * Fixed: Get-GSTeamDrive was not paginating through the results. * [Issue #197](#197) * 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
But that lists only Team Drives that I am part of. As an admin, I want to
find them all, is there a parameter for that?
…On Thu, May 30, 2019 at 2:05 PM Nate Ferrell ***@***.***> wrote:
Hey @queks <https://github.com/queks> - That's actually invalid search
syntax for Drive
<https://developers.google.com/drive/api/v3/search-shareddrives>. That
being said, just run Get-GSTeamDrive to get the desired results in a much
shorter command 😄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#196>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIEAEMTMSJ3XWW5LXOPPHDTPX5VCNANCNFSM4HQWMD4A>
.
--
*Samuel QUEK*
*IT Associate Director*
*Taipei American School*
800 Chung Shan N. Rd., Section 6 | Taipei | Taiwan ROC 11152
Tel: 886-2-2873-9900 ext 286
www.tas.edu.tw
*TAS is Green:* Please consider the environment before printing this email.
--
Confidentiality Notice: The information contained in this message may
be
privileged and confidential and protected from disclosure. If the reader
of
this message is not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, you are
hereby notified
that any dissemination, distribution, or copying of this
communication is
strictly prohibited. If you have received this
communication in error, please
notify us immediately by replying to the
message and deleting it from your
computer. Thank you.
|
hey @queks - You're in luck! One of the items added with v2.28.0 was a |
You da man!
On Sat, Jun 1, 2019 at 2:42 AM Nate Ferrell ***@***.***> wrote:
hey @queks <https://github.com/queks> - You're in luck! One of the items
added with v2.28.0 was a -UseDomainAdminAccess switch to
Get-GSDrive/Get-GSTeamDrive/Get-GSTeamDrivesList. Update when possible!
[image: image]
<https://user-images.githubusercontent.com/12724445/58727429-eff47d80-83a9-11e9-89c1-0aceb02e67d5.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#196>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIEAEMWNYOSVLB3V33QX3NLPYFWSPANCNFSM4HQWMD4A>
.
--
*Samuel QUEK*
*IT Associate Director*
*Taipei American School*
800 Chung Shan N. Rd., Section 6 | Taipei | Taiwan ROC 11152
Tel: 886-2-2873-9900 ext 286
www.tas.edu.tw
*TAS is Green:* Please consider the environment before printing this email.
…--
Confidentiality Notice: The information contained in this message may
be
privileged and confidential and protected from disclosure. If the reader
of
this message is not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, you are
hereby notified
that any dissemination, distribution, or copying of this
communication is
strictly prohibited. If you have received this
communication in error, please
notify us immediately by replying to the
message and deleting it from your
computer. Thank you.
|
❤️ Let me know if you have any issues with it! I think there are a few other Drive commands that support that same switch that I still need to investigate. |
Thanks, @jeremymcgee73!
The text was updated successfully, but these errors were encountered: