--
You received this message because you are subscribed to the "Google Apps Manager" group.
To post to this group, send email to
google-ap...@googlegroups.com
To unsubscribe from this group, send email to
google-apps-man...@googlegroups.com
For more options, visit this group at
https://groups.google.com/forum/#!forum/google-apps-manager
Param(
[parameter(Mandatory=$true)]
[alias("f")]
$file)
Set-Alias -Name gam -Value c:\Usher\gam\gam.exe -Description "Google-Apps-Manager Alias" -Force
$list = Import-Csv $file
foreach($entry in $list) {
gam create user "$($entry.username)@myco.com" firstname "$($entry.firstname)" lastname "$($entry.lastname)" password "$($entry.password)" changepassword off agreedtoterms on org "$($entry.org)"
}
username, firstname, lastname, password, org