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.

Get-GDataUser

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

Example:


Get-GDataUser -Service $Service [-ID user]

New-GDataUser

Creates a new Google Apps user.

Example:


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

Set-GdataUser

Modifies a Google Apps user.

Example:


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

Remove-GDataUser

Removes a Google Apps user.

Example:


Remove-GDataUser -Service $Service -ID user

Get-GDataUserNickName

Returns nicknames, -ID is optional and if not used all nicknames in the domain are returned.
The Legacy parameter invoke the use of the Google .NET Data API (used in versions prior top 0.5.0.7)

Example:


Get-GDataUserNickName -Service $Service [-ID user] [-Legacy]

Add-GDataUserNickName

Adds a nickname to a Google Apps user.
The Legacy parameter invoke the use of the Google .NET Data API (used in versions prior top 0.5.0.7)

Example:


Add-GDataUserNickName -Service $Service -ID user -NickName nickname@domain [-Legacy]

Remove-GDataUserNickName

Removes a nickname to a Google Apps user.
The Legacy parameter invoke the use of the Google .NET Data API (used in versions prior top 0.5.0.7)

Example:


Remove-GDataUserNickName -Service $Service -NickName nickname@domain [-Legacy]