Guys
I am trying to automate the creation of local users on local servers (they are workgroup 2003 servers, not in AD) and I have written a script to create the user and do all of the necessary tasks as far as that is concerned. What I would like to do now is have a text CSV file containing information such as Username and Full Name and then have my script read the information from that and create the users accordingly.
Please can anyone help me out with how to read from a text CSV file and then pass the information to the script to action? The CSV file would only contain two items per line: Username,Full Name. (Password not required for the CSV file)
Thanks in advance.
--------------------------------------------------------------------------
"Who is General Failure and what is he doing on my computer?"
--------------------------------------------------------------------------
I am trying to automate the creation of local users on local servers (they are workgroup 2003 servers, not in AD) and I have written a script to create the user and do all of the necessary tasks as far as that is concerned. What I would like to do now is have a text CSV file containing information such as Username and Full Name and then have my script read the information from that and create the users accordingly.
Please can anyone help me out with how to read from a text CSV file and then pass the information to the script to action? The CSV file would only contain two items per line: Username,Full Name. (Password not required for the CSV file)
Thanks in advance.
--------------------------------------------------------------------------
"Who is General Failure and what is he doing on my computer?"
--------------------------------------------------------------------------