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
Get-GSMobileDevice returns a Google API error as the default pagesize value is outside of the permitted range.
Get-GSMobileDevice: Exception calling "Execute" with "0" argument(s): "Google.Apis.Requests.RequestError Invalid value '1000'. Values must be within the range: [value: 1 , value: 100 ] [400]
I have reduced the default value from 1000 to 100.
Get-GSMobileDevice returns a Google API error as the default pagesize value is outside of the permitted range.
Get-GSMobileDevice: Exception calling "Execute" with "0" argument(s): "Google.Apis.Requests.RequestError Invalid value '1000'. Values must be within the range: [value: 1 , value: 100 ] [400]
I have reduced the default value from 1000 to 100.