-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
72 lines (54 loc) · 1.68 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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 [email protected]
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 [email protected]
Set-GDataMailSetting -ID robertj -Name "Robert Jonsson" -SenderAdress [email protected] -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