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: Update-GSCalenderSubscription function to updated existing calendar subscriptions.
Removed: Default values for the following parameters on Add-GSCalendarSubscription to prevent automatically adding notifications for new CalendarList entries (subscriptions):
DefaultNotificationType
DefaultNotificationMethod
DefaultReminderMethod
DefaultReminderMinutes
Added: Notifications and Reminders parameters to Add-GSCalenderSubscription and Update-GSCalenderSubscription
Added: Reminders parameter to New-GSCalendarEvent and Update-GSCalendarEvent functions to set custom reminders on calendar events.
Added: Add-GSCalendarEventReminder and Add-GSCalendarNotification helper functions.
Updated: DisableReminder switch parameter name on New-GSCalendarEvent and Update-GSCalendarEvent functions to DisableDefaultReminder to better align with what that actually effects (default reminder inheritance only, not reminder overrides). The previous parameter name has been set as an alias to maintain backwards compatibility.
Added: RemoveAllReminders parameter to Update-GSCalendarEvent to remove all custom reminders and disable calendar inheritance.
2.32.0 - 2019-09-12
Update-GSGmailLanguageSettings
andGet-GSGmailLanguageSettings
functions to update/get a users default language settings in Gmail.Update-GSCalenderSubscription
function to updated existing calendar subscriptions.Add-GSCalendarSubscription
to prevent automatically adding notifications for new CalendarList entries (subscriptions):DefaultNotificationType
DefaultNotificationMethod
DefaultReminderMethod
DefaultReminderMinutes
Notifications
andReminders
parameters toAdd-GSCalenderSubscription
andUpdate-GSCalenderSubscription
Reminders
parameter toNew-GSCalendarEvent
andUpdate-GSCalendarEvent
functions to set custom reminders on calendar events.Add-GSCalendarEventReminder
andAdd-GSCalendarNotification
helper functions.DisableReminder
switch parameter name onNew-GSCalendarEvent
andUpdate-GSCalendarEvent
functions toDisableDefaultReminder
to better align with what that actually effects (default reminder inheritance only, not reminder overrides). The previous parameter name has been set as an alias to maintain backwards compatibility.RemoveAllReminders
parameter toUpdate-GSCalendarEvent
to remove all custom reminders and disable calendar inheritance.Visibility
parameter onNew-GSCalendarEvent
andUpdate-GSCalendarEvent
to set the visibility of a calendar event.Type
parameter values to lower on theAdd-GSUser*
helper functions to ensure case senstive field matches whats expected.