--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/fea40bff-addd-4c00-8e6f-54eef66abc2c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
The script will import the file, but you can actually put it wherever you want. Just specify the full path. I put my csv's in a subfolder.
As far as the script, you don't need quotes, but just change it to the following format:
If you're creating a user you don't need to set suspended off since they are new. Not sure about the change password feature or the ability to update them on an org. I have another part of the script that updates the org and places the user as well as turning off webclips.
-Dan
On Fri, Oct 18, 2013 at 7:30 AM, Josh Ferren <josh....@pierpont.edu> wrote:
I am in need of some much appreciated help. I'm running my script in Powershell and it runs find but it can't find my CSV. The CSV file is located in my GAM folder. Does the CSV need to be placed in the same folder as my script? Also can somebody confirm that my script is correct. I haven't tried it yet but I think I may need to make single quotes around each entry rather than the whole.$list = Import-Csv C:\GAM\file.csvforeach ($entry in $list){C:\gam\gam.exe create user "$entry.username firstname $entry.firstname lastname $entry.lastname alias $entry.alias $entry.password password" suspended off changepassword on org my_org}
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/391d0553-6f33-4456-a960-92a9b85d16a7%40googlegroups.com.
username | firstname | lastname | alias |
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/fea40bff-addd-4c00-8e6f-54eef66abc2c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/fea67cc9-97d9-4687-93b1-86dccc2125c6%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/391d0553-6f33-4456-a960-92a9b85d16a7%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/2eb13e98-1b97-4100-89c2-848f9046129b%40googlegroups.com.