Re: script to create sites and services subnets



Hi Star,

What I meant is that if I run your script using the SplitCSV routine it is
giving me errors because it does not split anything (CSV file used
attached). The whole line is stored in the arrLine(0) position.

If I use the native Split function and change the line by
arrLine = Split(fsin.ReadLine, " ") all positions in the array are filled
and subnets are created correctly in my DC (hosted in a DC)

Ramon

"Star" <momo2804@xxxxxxxxx> wrote in message
news:1155612616.901731.19240@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Ramon,

So you mean you ran the script with the CSV file and some entries and
it created them ok with AD Sites and Services.....?

Can you tell me what values you used for the CSV and I will check
again.... please......

Thanks for your help..........



begin 666 test.txt
M,3DR+C$V."XQ+C O,C8@2$M'(#$Y,BXQ-C@N,2XP+S(U-2XR-34N,C4U+C$Y
',B!54T$-"@``
`
end

.



Relevant Pages

  • Re: CSVDE Password Limitations - [WP]
    ... Your script was greata!!!! ... I am importing users into AD from CSV file and ran into password ... ' delimited by a quote followed by a comma. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Moving user to another container
    ... I really only want those students to use the ... So I think I'll change my idea and write a script ... I have created a csv file with the user names of students to be moved. ... ' Constants for the NameTranslate object. ...
    (microsoft.public.windows.server.active_directory)
  • Re: CSVDE Password Limitations - [WP]
    ... If I create and disable a user manually this script when I run it enables it ... I am importing users into AD from CSV file and ran into password assigning ... ' delimited by a quote followed by a comma. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Moving user to another container
    ... Thanks for your response and script suggestion Richard. ... Each school has it's own OU with other OUs underneath. ... I have created a csv file with the user names of students to be moved. ... The DN of the target OU might be: ...
    (microsoft.public.windows.server.active_directory)
  • Re: scripting domain users accounts
    ... Here is a simple script that will take infomation from a CSV file. ... Dim aLine, sLine, sCN, sLogon, sPass, sOU, sOUb, sOUp, sGroup ... Sub CreateaUser() ...
    (microsoft.public.scripting.vbscript)