-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
82 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,12 @@ function Add-GSCalendarSubscription { | |
Add-GSCalendarSubscription -User me -CalendarId [email protected] -Selected -Color Cyan | ||
Adds the calendar '[email protected]' to the AdminEmail user's calendar list | ||
.LINK | ||
https://psgsuite.io/Function%20Help/Calendar/Add-GSCalendarSubscription/ | ||
.LINK | ||
https://developers.google.com/calendar/v3/reference/calendarList/insert | ||
#> | ||
[OutputType('Google.Apis.Calendar.v3.Data.CalendarListEntry')] | ||
[cmdletbinding()] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,9 @@ function New-GSCalendarAcl { | |
New-GSCalendarACL -CalendarID [email protected] -Role reader -Value [email protected] -Type user | ||
Gives [email protected] reader access to jennyappleseed's calendar. | ||
.LINK | ||
https://psgsuite.io/Function%20Help/Calendar/New-GSCalendarACL/ | ||
#> | ||
[OutputType('Google.Apis.Calendar.v3.Data.AclRule')] | ||
[cmdletbinding(DefaultParameterSetName = "AttendeeEmails")] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,11 +17,14 @@ function Remove-GSCalendarAcl { | |
.EXAMPLE | ||
Get-GSCalendar -User [email protected] | | ||
Get-GSCalendarACL | | ||
Get-GSCalendarAcl | | ||
Where-Object {$_.Role -eq 'Owner'} | | ||
Remove-GSCalendarACL | ||
Remove-GSCalendarAcl | ||
Gets all the calendars for Joe and finds all ACL rules where | ||
.LINK | ||
https://psgsuite.io/Function%20Help/Calendar/Remove-GSCalendarAcl/ | ||
#> | ||
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = "High")] | ||
Param | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,9 @@ function Remove-GSCalendarEvent { | |
Remove-GSCalendarEvent -User [email protected] -EventID _60q30c1g60o30e1i60o4ac1g60rj8gpl88rj2c1h84s34h9g60s30c1g60o30c1g84o3eg9n8gq32d246gq48d1g64o30c1g60o30c1g60o30c1g60o32c1g60o30c1g8csjihhi6oq3igi28h248ghk6ks4agq161144ga46gr4aci488p0 | ||
Removes the specified event from [email protected]'s calendar. | ||
.LINK | ||
https://psgsuite.io/Function%20Help/Calendar/Remove-GSCalendarEvent/ | ||
#> | ||
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = "High")] | ||
Param | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,23 @@ function Remove-GSCalendarSubscription { | |
<# | ||
.SYNOPSIS | ||
Removes a calendar from a users calendar list (aka unsubscribes from the specified calendar) | ||
.DESCRIPTION | ||
Removes a calendar from a users calendar list (aka unsubscribes from the specified calendar) | ||
.PARAMETER User | ||
The primary email or UserID of the user. You can exclude the '@domain.com' to insert the Domain in the config or use the special 'me' to indicate the AdminEmail in the config. | ||
.PARAMETER CalendarID | ||
The calendar ID of the calendar you would like to unsubscribe the user from | ||
.EXAMPLE | ||
Remove-GSCalendarSubscription -User me -CalendarId [email protected] | ||
Removes the calendar '[email protected]' from the AdminEmail user's calendar list | ||
.LINK | ||
https://psgsuite.io/Function%20Help/Calendar/Remove-GSCalendarSubscription/ | ||
#> | ||
[cmdletbinding(SupportsShouldProcess = $true,ConfirmImpact = "High")] | ||
Param | ||
|
@@ -63,4 +66,4 @@ function Remove-GSCalendarSubscription { | |
} | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters