Skip to content

Powershell cmdlets for Google Apps, GData cmdlet, You can send feedback ore questions to robert.j@plan-tre.net

Notifications You must be signed in to change notification settings

robertj/GDataCmdLet

Repository files navigation

I created this project to have an easier way of handeling provisioning/Administration for Google Apps (Contacts/Users/Groups/MailSettings/Calendars/Resources/Profiles)

I hope it can be usefull to someone else.

You can send feedback ore questions to robert.j@plan-tre.net

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:

$cred = get-credential
$Service = New-GDataService -Credentials $cred
New-GDataUser -Service $Service -FamilyName Robert -GivenName Jonsson -ID robertj -Passsword Password
Add-GDataUserNickName -Service $Service -ID robertj -NickName robert.jonsson@plan-tre.net

Set-GDataMailSetting -ID robertj -Name "Robert Jonsson" -SenderAdress robert.jonsson@plan-tre.net -IsDefault -MailSettingsService $Service


This project includes:

New-GDataService

Remove-GDataContact
Get-GDataContact
Set-GDataContact
New-GDataContact

Remove-GDataGroup
Get-GDataGroup
Get-GDataGroupMember
Add-GDataGroupMember
Remove-GDataGroupMember
Get-GDataGroupOwner
Add-GDataGroupOwner
Remove-GDataGroupOwner
Set-GDataGroup
New-GDataGroup

Set-GDataGDataMailSetting

Remove-GDatauser
Get-GDataUser
Set-GDataUser
New-GDataUser
Get-GDataUserNickName
Add-GDataUserNickName
Remove-GDataUserNickName

Get-GDataCalendar
Set-GDataCalendar
New-GDataCalendar
Remove-GDataCalendar
Get-GDataCalendarAcl
Add-GDataCalendarAcl
Remove-GDataCalendarAcl

New-GDataResource
Get-GDataResource
Remove-GDataResource
Set-GDataResource

New-GDataProfile
Get-GDataProfile
Remove-GDataProfile
Set-GDataProfile

About

Powershell cmdlets for Google Apps, GData cmdlet, You can send feedback ore questions to robert.j@plan-tre.net

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages