I created this project to have an easier way of handeling provisioning/Administration for Google Apps
(Contacst/Users/Groups/MailSettings)
I hope it can be usefull to someone else.
You can send feedback ore questions to robert.j@plan-tre.net
1.
You will need to download ".NET library for the Google Data API (1.6.0.0)"
http://code.google.com/p/google-gdata/downloads/list
2.
Add the cmdlet to powershell
set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil
Fore 64bit use "set-alias installutil $env:windir\Microsoft.NET\Framework64\v2.0.50727\installutil"
installutil Microsoft.PowerShell.GData.dll
Add-PSSnapin GData
Example use:
$UserService = New-GDataUserService -AdminPassword Password -AdminUsername admin@plan-tre.net
New-GDataUser -UserService $UserService -FamilyName Robert -GivenName Jonsson -ID robertj -Passsword Password
Add-GDataUserNickName -UserService $UserService -ID robertj -NickName robert.jonsson
$MailSettingsService = New-GDataMailSettingsService -AdminPassword Password -AdminUsername admin@plan-tre.net
Set-GDataMailSetting -ID robertj -Name "Robert Jonsson" -SenderAdress "robert.jonsson@plan-tre.net" -IsDefault
-MailSettingsService $MailSettingsService
This project includes:
New-GDataContactService
Remove-GDataContact
Get-GDataContact
Set-GDataContact
New-GDataContact
New-GDataGroupService
Remove-GDataGroup
Get-GDataGroup
Get-GDataGroupMember
Add-GDataGroupMember
Remove-GDataGroupMember
Set-GDataGroup
New-GDataGroup
New-GDataGDataMailSettingsService
Set-GDataGDataMailSetting