Sunday, July 25, 2010

Version 0.5.1.1

Version 0.5.1.1

There are some big changes in this version =)

New-GDataService replaces all previous Service cmdlets and creates a generic service object.
All (Except calendar) now have a powershell adapted output.

I have also done allot of bugfixing.

Saturday, July 24, 2010

Version 0.5.1.0

Version 0.5.1.0

I have been working on a more powershell adapted output for the cmdlets.

GDataUser
GDataMailSetting
GDataProfile

now have a powershell adapted output.

Get-GDataUserNickName -UserService $Service

UserName aliasEmail
-------- ----------
user1@domain.com email1@domain.com
user2@domain.com email2@domain.com
user3@domain.com email3@domain.com

Thursday, July 22, 2010

Version 0.5.0.9

Version 0.0.5.9 adds support for management of user profiles.

New-GdataProfileService
Get-GdataProfile
Set-GdataProfile

Wednesday, July 21, 2010

Version 0.5.0.8

Added cmdlets for Calendar resources.

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



Version 0.5.0.7

Multi domain support

Add-GdataUserNickName, Get-GdataUserNickName and Remove-GdataUserNickName can now manage nicknames in other associated domains. These are the first cmdlets the utilizes the Google Rest API instead of the .NET Data API therefor the output is a bit different then before.

We have also added a -Legacy parameter to these cmdlets if invoked they use the Google .NET Data API and work exactly as in previous versions.

The long time plan is to move away from the .NET Data API.


Tuesday, July 20, 2010

Version 0.5.0.6

Added cmdlets:

Get-GdataGroupOwner
Add-GdataGroupOwner
Remover-GdataGroupOwner

This version also contains some minor bugfixes and optimization implementing the use of LINQ.

Thursday, July 15, 2010

Version 0.5.0.5

I have now added:

Get-GdataCalendarAcl
Add-GdataCalendarAcl
Remove-GdataCalendarAcl

Powershell code sample

Wednesday, July 14, 2010

Version 0.5.0.3

Hi,

I have just released version 0.5.0.3 witch introduces the first GDataCalendar cmdlets.

New-GDataCalendarService
Get-GdataCalendar
Set-GDataCalendar
New-GdataCalendar
Remove-GdataCalendar

I hope you will enjoy these, the next reseal will contain additional features for Calendars (sharing), it will also contain cmdlets for resources.

Sunday, July 11, 2010

MultiDomain

Users can be managed in multiple domains by simply changing the UserService object in powershell:

$UserService = New-GDataUserService -AdminPassword Password -AdminUsername admin@domain.com
$UserService.Domain = "domain1.com"
Get-GDataUser -id robert.jonsson -UserService $UserService

with this method you can manage multiple domains added to the sam GoogleApps Service.
Version 0.5.0.2 dose not support "Creating a User Alias in a Domain". I'm working on a new version where this feature will be supported.

Version 0.5.0.2

Version 0.5.0.2: added support for "City" in New-GDataContat/Set-GDataContact.

Powershell code sample

In the wiki pages I have set up "Powershell code sample"
If you have some cool powershell code utilizing GDataCmdLet pleas send it to me and I will post it in the wiki pages.

Saturday, July 10, 2010

Version 0.5.0.1

Hi,

I have just updated GDataCmdLet to version 0.5.0.1. It now utilizes version 1.6.0.0 of the Google Apps Data API.

Version 0.5.0.1 also contains the first steps for multiple domain support plus some bug-fixes. I have an open issue for multiple domain support I will update it with any progress i make.

GDataCmdLet

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