Skip to content
robertj edited this page Sep 14, 2010 · 4 revisions

GDataGroup cmdlets are used for provisioning and management of google apps groups in powershell.
Parameters within [ ] are optional.

Remove-GDataGroup

Removes i Google Apps group.

Example:


Remove-GDataGroup -Service $Service -ID group

Get-GDataGroup

Returns a Google Apps group, -ID is optional and if not used all groups in the domain are returned.

Example:


Get-GDataGroup -Service $Service [-ID group]

Get-GDataGroupMember

Returns all members of a Google Apps group.

Example:


Get-GDataGroupMember -Service $Service -Id group

Add-GDataGroupMember

Adds a Google Apps user to a group.

Example:


Add-GDataGroupMember -Service $Service -ID group -UserID user

Remove-GDataGroupMember

Remove a Google Apps user to a group.

Example:


Remove-GDataGroupMember -Service $Service -ID group -UserID user

Get-GDataGroupOwner

Returns owners of a Google Apps group.

Example:


Get-GDataGroupOwner -Service $Service -ID group

Add-GDataGroupOwner

Adds a Google Apps user as owner of a group (must be a group member).

Example:


Add-GDataGroupOwner -Service $Service -ID group -UserID user

Remove-GDataGroupOwner

Remove a Google Apps user as a group owner.

Example:


Remove-GDataGrouOwner -Service $Service -ID group -UserID user

Set-GDataGroup

Sets Google Apps group options.

Example:


Set-GDataGroup -Service $Service -ID user [-Name Group Name] [-Description Group Description] [-EmailPermission Owner, Member, Domain, Anyone]

New-GDataGroup

Creates a Google Apps group.

Example:


New-DataGroup -Service $Service -ID user [-Name Group Name] [-Description Group Description] [-EmailPermission Owner, Member, Domain, Anyone]