- 2.16.0
- 2.15.4
- 2.15.3
- 2.15.2
- 2.15.1
- 2.15.0
- 2.14.1
- 2.14.0
- 2.13.2
- 2.13.1
- 2.13.0
- 2.12.1
- 2.12.0
- 2.11.0
- 2.10.2
- 2.10.1
- 2.10.0
- 2.9.0
- 2.8.1
- 2.8.0
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.5
- 2.1.3 / 2.1.4
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- Fixed: Module deployment segment in psake script deploying decompiled/broken module
- Updated: Build script to compile module into a single PSM1 file for cleanliness and loading speed improvements
- Issue #96
- Updated the following on
Get-GSGroup
:- Set default scope to
Customer
so that getting the list of groups expectedly gets all of them, not just the ones in your primary domain - Added
Domain
parameter to specify which domain to list groups from your customer account - Added
Filter
parameter to only list groups matching the Group query syntax - Moved the
Get-GSGroupListPrivate
private function into the body ofGet-GSGroup
for error clarity
- Set default scope to
- Updated the following on
- Others:
- Moved the
Get-GSUserListPrivate
private function into the body ofGet-GSUser
for error clarity - Improved error handling for User and Message List functions when there are no results.
- Moved the
- Issue #87
- Fixed
Add-GSCourseParticipant
error:"Cannot convert the "[email protected]" value of type "System.String" to type "Google.Apis.Classroom.v1.Data.Student"."
- Set
$request.Fields = "*"
forGet-GSCourseParticipant
andGet-GSClassroomUserProfile
to return all available fields for theProfile
, includingEmailAddress
- Fixed
- Issue #93
- Added:
MaxToModify
parameter toRemove-GSGmailMessage
andUpdate-GSGmailMessageLabels
in theFilter
parameter set to prevent removing/updating more messages than expected when using a filter to gather the list of messages to update.
- Added:
- Added:
Id
alias forUser
parameter onGet-GSUser
for better pipeline support
- Pull Request #94 Thanks, @dwrusse!
- Added
Update-GSGmailLabel
to enable updating of Gmail label properties - Added
Update-GSGmailMessageLabels
enable updating of labels attached to Gmail messages
- Added
- Issue #93
- Updated
Remove-GSGmailMessage
to include a-Filter
parameter to allow removal of messages matching a filter in a single command - Improved pipeline support for
Remove-GSGmailMessage
- Updated
- Issue #87
- Added
User
parameter to all Classroom functions to specify which user to authenticate the request as
- Added
- Issue #90
- Added
Update-GSUserPhoto
- Added
Remove-GSUserPhoto
- Added
- Updated Gmail Delegation functions to use the .NET SDK after Google announced delegation support for the Gmail API
- Cleaned up
Get-GSGmailDelegates
by removing the trailings
(nowGet-GSGmailDelegate
). Added the original function as an alias to the new function for backwards compatibility with scripts. - Removed the
Raw
parameter fromGet-GSGmailDelegate
since it's no longer applicable. - Enabled
Get-GSGmailDelegate
to perform both Get and List requests (previously only performed List requests)
- Issue #87
- Removed
Add-Member
calls fromGet-GSCourseParticipant
to resolve item 3 on issue - Cleaned up
CourseStates
parameter onGet-GSCourse
to validate against the Enum directly and removed the default parameter value to resolve item 2 on issue - Cleaned up
State
parameter onGet-GSStudentGuardianInvitation
to validate against the Enum directly in an effort to prevent the same issue as item 2
- Removed
- Issue #85
- Added Google Classroom support with the following functions:
Add-GSCourseParticipant
Confirm-GSCourseInvitation
Get-GSClassroomUserProfile
Get-GSCourse
Get-GSCourseAlias
Get-GSCourseInvitation
Get-GSCourseParticipant
Get-GSStudentGuardian
Get-GSStudentGuardianInvitation
New-GSCourse
New-GSCourseAlias
New-GSCourseInvitation
New-GSStudentGuardianInvitation
Remove-GSCourse
Remove-GSCourseAlias
Remove-GSCourseInvitation
Remove-GSCourseParticipant
Remove-GSStudentGuardian
Update-GSCourse
- Added Google Classroom support with the following functions:
- Fixed:
Get-GSToken
Create/Expiry time split issue on macOS caused by difference in-UFormat %s
(macOS doesn't have trailing milliseconds) - Fixed: Logic in confirming if UserID is
[decimal]
to prevent unnecessary errors
- Issue #83
- Added:
Add-GSUserOrganization
to create UserOrganization objects - Updated:
Update-GSUser
andNew-GSUser
to include Organizations parameter and cleaned up logic for other Generic.List type parameters to ensure functionality
- Added:
- Fixed:
Add-GSDrivePermission
fails to transfer ownership of files (Issue #80)
- Fixed: Private list functions to check if a value is actually returned before adding members to the returned objects (Issue #77)
- Added:
Update-GSChatMessage
to allow updating existing messages in Chat (i.e. on Card Clicked events) - Updated: Order of parameters in
Get-GSToken
to placeScopes
first, as it's the only required parameter - Updated:
Get-GSChatSpace
now updates the config with Space names/shortnames for ease of use - Updated:
Send-GSChatMessage
to also support calling the REST API as an additional option. This is necessary for PoshBot due to the deserialization of objects passed back to result parser breaking the Google SDK type references - Updated:
Get-GSChatConfig
to always fetch the latest config if no ConfigName is passed instead of usingShow-PSGSuiteConfig
- Updated:
Set-PSGSuiteConfig
to refresh the Spaces dictionary each time in order to remove stale spaces (i.e. on removal of bot from a Room or DM) - Fixed:
Add-GSChatOnClick
now properly builds the hashtable for the Webhook object - Updated:
Get-GSUser
to allow passing User ID's instead of emails by checking if value passed is adecimal
before concatenating the domain name.
- Fixed:
Get-GSDrivePermission
now returns all fields (including EmailAddress)
- Added:
Get-GSChatMember
,Get-GSChatMessage
,Get-GSChatSpace
,Remove-GSChatMessage
,Send-GSChatMessage
,Add-GSChatButton
,Add-GSChatCard
,Add-GSChatCardAction
,Add-GSChatCardSection
,Add-GSChatImage
,Add-GSChatKeyValue
,Add-GSChatOnClick
,Add-GSChatTextParagraph
- These allow interaction with the Google Chat API via either Webhook or through the SDK
- Using the Webhook requires no additional configuration as the Webhook includes the authentication key and token in the URL
- Using the SDK requires additional configuration of the Bot in the Google Developer's console (Documentation soon to come)
- Added:
Get-GSChatConfig
to retrieve the Chat specific config data - Updated:
Set-PSGSuiteConfig
&Get-PSGSuiteConfig
to manage config dictionaries for Chat Webhook and Space data - Updated: All .NET SDK DLL's to version 1.34 to work with the Hangouts Chat API
- Added:
Get-GSGmailSMIMEInfo
,Remove-GSGmailSMIMEInfo
&New-GSGmailSMIMEInfo
to get, delete and insert S/MIME info for a user, respectively (Issue #57)
- Added:
Get-GSDocContent
,Set-GSDocContent
&Add-GSDocContent
to establish functional parity withGet-Content
,Set-Content
&Add-Content
in regards to working with Google Docs (Issue #56)
- Updated: Added
Path
parameter toUpdate-GSDriveFile
to allow updating a file's contents in Drive using a local file path (Issue #55)
- Added:
Clear-GSTasklist
,Get-GSTask
,Get-GSTasklist
,Move-GSTask
,New-GSTask
,New-GSTasklist
,Remove-GSTask
,Remove-GSTasklist
,Update-GSTask
&Update-GSTasklist
- These will allow full use of the Tasks API from Google.
- Please see the updated Initial Setup guide to update your API access for the new Scope list and enable the Tasks API in your project in the Developer Console!
- Updated: Added
IsAdmin
switch parameter toUpdate-GSUser
, allowing set or revoke SuperAdmin privileges for a user (Issue #54) - Added:
Get-GSAdminRole
,New-GSAdminRole
,Remove-GSAdminRole
&Update-GSAdminRole
to manage Admin Roles in G Suite (Issue #54) - Added:
Get-GSAdminRoleAssignment
,New-GSAdminRoleAssignment
&Remove-GSAdminRoleAssignment
to manage Admin Role Assignments in G Suite (Issue #54)
- Fixed:
Get-GSGroup
failing when usingList
ParameterSet and theFields
Parameter (Issue #63)
- Added:
Remove-GSDrivePermission
. Thanks to Jeremy McGee!
- Fixed:
Get-GSDrivePermission
fails when attempting to get Team Drive permissions.
- Fixed:
Update-GSCalendarEvent
had default values set for LocalStartDateTime and LocalEndDateTime parameters, causing those to always update the event unexpectedly if a start and/or end datetime was not passed when running the command (Issue #59)
- Added:
Get-GSCalendarACL
andNew-GSCalendarACL
for pulling/adding calendar ACL's.
- Fixed:
Export-GSDriveFile -OutFilePath C:\doc.pdf -Type PDF
failing due to incorrect parameter validation. (Issue #51)
- Added:
Get-GSGmailProfile
andGet-GSDriveProfile
to pull down information for a user's Gmail or Drive account.
- Fixed:
Add-GSDrivePermission
error messages stating FileId is ReadOnly. (Issue #47) - Fixed:
Get-GSGmailMessage -ParseMessage
broken on non-Windows OS's due to using $env:TEMP. Switched to converting the MimeMessage to a stream and parsing it that way for resolution and significant perf gains. (Issue #48)
- Added:
Compare-ModuleVersion
function to get latest installed version and compare against the latest version on the PSGallery (Issue #44) - Fixed: Pipeline support, so you can do things like the following and get group, group member and user details (as an example) easily (Issue #45):
#much pipe
$users = Get-GSGroup $groupEmail -Verbose -OutVariable group | Get-GSGroupMember -Verbose -OutVariable members | Get-GSUser -Verbose
#contains the group's info
$group
#contains the group members' info
$members
#contains the group members' full user info
$users
- Added:
CustomSchemas
parameter toNew-GSUser
(Resolve Issue #42)
- Fixed/Added: Specific domain support for listing users with
Get-GSUser -Filter $filter -Domain domain2.com
to allow customers with multiple domains to only list users for a specific domain instead of just the entire customer or domain saved in the config. (Resolve Issue #32) - Added: Better verbose output in when listing users
- Fixed: Performance increase in
Get-GSDriveFileList
but returning DriveFile objects as it iterates through each page instead of storing in an array and returning the array at the end (Resolve Issue #38)
- Fixed:
Update-GSUser -CustomSchemas @{schema = @{field = "value"}}
resulting in null array (Resolve Issue #39)
- Fixed:
Add-GSGmailDelegate
andRemove-GSGmailDelegate
returning 400 Bad Request responses (Resolve Issue #35)
- Added: Custom Schema value setting for
Update-GSUser
- Fixed:
Get-GSUser -Filter *
not returning the full user list with large organizations (Resolve Issue #32)
- Added: Refactored Get-GSToken to work on all versions of PowerShell and confirmed Gmail Delegation commands working in PowerShell Core (Resolve Issue #8)
- Added:
Get-GSUserAlias
,New-GSUserAlias
,Remove-GSUserAlias
for user alias management - Added:
Get-GSGroupAlias
,New-GSGroupAlias
,Remove-GSGroupAlias
for group alias management - Added:
Get-GSCalendarSubscription
,Add-GSCalendarSubscription
andRemove-GSCalendarSubscription
for managing calendar list entries - Updated:
Start-GSDriveFileUpload
to fix recursive issues with trailing directory separators - Updated:
Watch-GSDriveFileUpload
to show progress of total file upload vs batch upload
- Fixed:
Update-GSGmailAutoForwardingSettings
returns a 403 due to incorrect scope #25
Added the following:
- Functions
- Get-GSGmailAutoForwardingSettings
- Get-GSGmailImapSettings
- Get-GSGmailPopSettings
- Get-GSGmailVacationSettings
- Update-GSGmailAutoForwardingSettings
- Update-GSGmailImapSettings
- Update-GSGmailPopSettings
- Update-GSGmailVacationSettings
- CI Testing
- Added Travis CI testing for both Linux and macOS tests along with the existing AppVeyor CI testing on Ubuntu (PowerShell Core) Windows (PowerShell Core and Windows PowerShell)
- Added: Update-GSCalendarEvent
- Fixed: Error handling to only throw terminating errors when ErrorActionPreference is
Stop
****
- Fixed: Export-GSSheet -Value results in error #19
- Updated: Added
-Attendees
and-AttendeeEmails
parameters to New-GSCalendarEvent - Added: Add-GSEventAttendee
- Added: Get-GSActivityReport
- Added: Get-GSUsageReport
- Added: Add-GSGmailForwardingAddress
- Fixed: Module to load only public functions
- Fixed: Documentation/comment based help for Get-GSUsageReport
- Added: Get-GSActivityReport
- Added: Get-GSUsageReport
- Updated: Initial setup page to include Reports scopes
- Fixed: Error when using -CalendarID with Get-GSCalendarEventList #17
- Fixed: Update-GSUser failing to update OrgUnitPath #18
- Added: -Attendees parameter to New-GSCalendarEvent
- Added: Add-GSEventAttendee helper function
- Fixed: Issue with Add-GSUserExternalId #14
- Fixed: Set-PSGSuiteConfig not accepting pipeline input #13
- PowerShell Core/cross-platform support added
- All Drive functions now support Team Drives
- Get-GSGmailMessage can now save message attachments to a local path
- File uploads to Drive are now supported (including recursive folder uploads!)
- P12 Keys (service accounts) and client_secrets.json (OAuth) are both now supported
The Gmail API does not yet support handling inbox delegation. The functionality addition has been pushed back again until Q3 of 2018. Once the Gmail API supports inbox delegation, those functions will be added.
Delegation functions have been re-added to PSGSuite as of v2.4.0! Update now to get all the goodness of v2 + delegation commands!
Please note that not all functions were ported to PSGSuite 2.0.0 due to restrictions within the .NET SDK and deprecated API calls. Here is the list of functions no longer existing in PSGSuite as of 2.0.0:
- Get-GSToken: no need for this as the keys are being consumed by Googles Auth SDK directly now, which makes Access/Refresh tokens non-existent for P12 Key service accounts and token management is handled automatically
- Revoke-GSToken: same here, no longer needed due to auth service changes
- Start-PSGSuiteConfigWizard: no longer supported as WPF is not compatible outside of Windows
All other functions are either intact or have an alias included to support backwards compatibility in scripts. Full list of aliases:
Alias Maps To
----- -------
Add-GSDriveFilePermissions Add-GSDrivePermission
Export-PSGSuiteConfiguration Set-PSGSuiteConfig
Get-GSCalendarResourceList Get-GSResourceList
Get-GSDataTransferApplicationList Get-GSDataTransferApplication
Get-GSDriveFileInfo Get-GSDriveFile
Get-GSDriveFilePermissionsList Get-GSDrivePermission
Get-GSGmailFilterList Get-GSGmailFilter
Get-GSGmailLabelList Get-GSGmailLabel
Get-GSGmailMessageInfo Get-GmailMessage
Get-GSGroupList Get-GSGroup
Get-GSGroupMemberList Get-GSGroupMember
Get-GSMobileDeviceList Get-GSMobileDevice
Get-GSOrganizationalUnitList Get-GSOrganizationalUnit
Get-GSOrgUnit Get-GSOrganizationalUnit
Get-GSOrgUnitList Get-GSOrganizationalUnit
Get-GSOU Get-GSOrganizationalUnit
Get-GSResourceList Get-GSResource
Get-GSShortURLInfo Get-GSShortURL
Get-GSTeamDrivesList Get-GSTeamDrive
Get-GSUserASPList Get-GSUserASP
Get-GSUserLicenseInfo Get-GSUserLicense
Get-GSUserLicenseList Get-GSUserLicense
Get-GSUserList Get-GSUser
Get-GSUserSchemaInfo Get-GSUserSchema
Get-GSUserSchemaList Get-GSUserSchema
Get-GSUserTokenList Get-GSUserToken
Import-PSGSuiteConfiguration Get-PSGSuiteConfig
Move-GSGmailMessageToTrash Remove-GSGmailMessage
New-GSCalendarResource New-GSResource
Remove-GSGmailMessageFromTrash Restore-GSGmailMessage
Set-PSGSuiteDefaultDomain Switch-PSGSuiteConfig
Switch-PSGSuiteDomain Switch-PSGSuiteConfig
Update-GSCalendarResource Update-GSResource
Update-GSSheetValue Export-GSSheet