Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file

Status
Not open for further replies.

jamesjames1

Technical User
Jun 18, 2004
81
GB
Hi,

I need toread through a csv filewith 2 columns. 1 column is a device name and oneisan Active Directory OU Path.
The script I'd liketo use readsfrom the csv and moves the device to its corresponding OU which is in the CSV.
As there are around 90 machines in the csv I will need a loop string.

Am I right in thinking that I will need to use the split command to write the csv column contents to an array?

Any help woulth be great
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top