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

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

New-GDataUserService

Returns a AppsService object.

Example:


$UserService = New-GDataUserService -AdminUsername admin@domain.com -AdminPassword Password


Get-GDataUser

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

Example:


Get-GDataUser -UserService $UserService [-ID test]


New-GDataUser

Creates a new Google Apps user.

Example:


New-GDataUser -UserService $UserService -ID user -GivenName Firstname -FamilyName Lastname -Passsword Password


Set-GdataUser

Modifies a google user.

Example:


Set-GDataUser -UserService $UserService -ID user [-GivenName Firstname] [-FamilyName Lastname] [-Passsword Password] [-NewID newusername]


Remove-GDataUser

Removes a Google Apps user.

Example:


Remove-GDataUser -UserService $UserService -ID user


Clone this wiki locally