Vytvorime si .csv file s obsahem – nazvy skupin , uzivatel
We make create file include names of users or groups ( objects)
Test.csv – obsahuje –
Cn
Jmenoskupiny1
Jmenoskupiny2
pouzijeme prikaz(muzeme upravt dle potreb)
we use this command
Command : for -f “delims=, tokens=*” %G in (test.csv) do @dsadd group “cn=%G,ou=….,DC=…,DC=….” –secgrp yes –scope l
or you can use alternative way
objectClass,sAMAccountName,dn
user,amasv,“ cn=Martin Svoboda,ou=it,dc=secure,dc=com“
csvde –i name of csv