Search found 44 matches
- Thu Feb 05, 2009 11:55 am
- Forum: VBScript
- Topic: Bulk User Add
- Replies: 6
- Views: 3254
Bulk User Add
Greetings: I want to rename users in bulk using a CSV. I found some code that works for one user. ===START===strParentDN = "ou=Sales,dc=2zero,dc=local" ' e.g. strUserOldName = "BWagner" ' e.g. jsmithstrUserNewName = "Beatriz.Wagner" ' e.g. jimstrEmailAddress = "Bea...
- Thu Feb 05, 2009 11:55 am
- Forum: VBScript
- Topic: Bulk User Add
- Replies: 6
- Views: 3254
Bulk User Add
Greetings: I want to rename users in bulk using a CSV. I found some code that works for one user. ===START===strParentDN = "ou=Sales,dc=2zero,dc=local" ' e.g. strUserOldName = "BWagner" ' e.g. jsmithstrUserNewName = "Beatriz.Wagner" ' e.g. jimstrEmailAddress = "Bea...
- Wed Jan 07, 2009 1:12 am
- Forum: VBScript
- Topic: Create Users from CSV
- Replies: 2
- Views: 1482
Create Users from CSV
I got it working now for a single user. The problem now is that it does not seem to move on to the next row and create the second user. It is looping and trying to create the same user again and again.
- Wed Jan 07, 2009 12:26 am
- Forum: VBScript
- Topic: Create Users from CSV
- Replies: 2
- Views: 1482
Create Users from CSV
After a little what I call troubleshooting, I can now create one user in the Import OU. I changed the Set oContainer = GetObject("LDAP://cn=Import," & _ to Set oContainer = GetObject("LDAP://ou=Import," & _ I now know that it works for one user (I have two users listed in...
- Tue Jan 06, 2009 12:21 pm
- Forum: VBScript
- Topic: Create Users from CSV
- Replies: 2
- Views: 1482
Create Users from CSV
Hello: I need to create a bunch of users in AD using a CSV file as a source. I have seen some examples and none seem to work well if at all. I have to imagine that someone has already done this or something similar. Any help would be appreciated. Here is one of the scripts I am trying to work with: ...
- Thu Sep 25, 2008 2:48 am
- Forum: Customer Service
- Topic: Registration Information
- Replies: 2
- Views: 2663
Registration Information
Hello:
I am on the road and my machine went down. I need to get my PS re-installed and would like to input my license information but do not have it with me. How can I get it?
I am on the road and my machine went down. I need to get my PS re-installed and would like to input my license information but do not have it with me. How can I get it?
- Thu Aug 07, 2008 9:08 am
- Forum: VBScript
- Topic: Environment Variables
- Replies: 6
- Views: 3476
Environment Variables
Almost: I have the basics working. If I put these lines of code in the script by themselves, everything works. The ENV variable gets set correctly. Set sWSH = CreateObject("WScript.Shell") Set sysvars = sWSH.Environment("SYSTEM") sysvars("HPAPP") = "D:HPCORP.DAT&qu...
- Tue Aug 05, 2008 6:03 am
- Forum: VBScript
- Topic: Environment Variables
- Replies: 6
- Views: 3476
Environment Variables
Greetings: I need to set an environment variable using VB and I don't know how. If someone could give me a pointer, I would appreciate it. I have seen code that looks like this but it does not always seem to work and I want the variable to set per a users' login session. The variable will be set dep...
- Tue Aug 05, 2008 6:03 am
- Forum: VBScript
- Topic: Environment Variables
- Replies: 6
- Views: 3476
Environment Variables
Greetings: I need to set an environment variable using VB and I don't know how. If someone could give me a pointer, I would appreciate it. I have seen code that looks like this but it does not always seem to work and I want the variable to set per a users' login session. The variable will be set dep...
- Sat Mar 15, 2008 11:16 pm
- Forum: VBScript
- Topic: File Copy Script
- Replies: 5
- Views: 3174
File Copy Script
I tried again and it did echo to the screen and showed the correct value. My apologies. I get the error 'access denied' when I execute:
objFSO.CopyFile "C:test.txt" , sSysRoot, OverwriteExisting
objFSO.CopyFile "C:test.txt" , sSysRoot, OverwriteExisting