Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » Bulk create new security groups
Bulk create new security groups [message #155926] Mon, 08 June 2009 06:55 Go to next message
smc2005  is currently offline smc2005
Messages: 2
Registered: June 2009
Junior Member
Hi guys,

I have over 200 new security groups to create and wonder if there is a way
to create these from a csv file as I have them all in a spreadsheet. If this
is something that can be done using csvde then please let me know. An example
of the column headings needed would be much appreciated.

Best wishes,
Steve.
Re: Bulk create new security groups [message #155936 is a reply to message #155926] Mon, 08 June 2009 08:55 Go to previous message
pbbergs  is currently offline pbbergs  United States
Messages: 1024
Registered: July 2009
Senior Member
You could try using csvde

To start I would export a set of test groups and then delete one of the test
groups and re-import it to get the syntax setup to work correctly.

To Export
csvde -f c:\temp\groups.csv -d "ou=groups,dc=yourDomain,dc=com" -p
subtree -r "(&(objectClass=group))"

Syntax for CSVDE
http://technet.microsoft.com/en-us/library/cc732101.aspx

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

"smc2005" <smc2005@discussions.microsoft.com> wrote in message
news:27BEB653-8C6B-4741-8B11-0EFFF67CB074@microsoft.com...
> Hi guys,
>
> I have over 200 new security groups to create and wonder if there is a way
> to create these from a csv file as I have them all in a spreadsheet. If
> this
> is something that can be done using csvde then please let me know. An
> example
> of the column headings needed would be much appreciated.
>
> Best wishes,
> Steve.
Previous Topic:What Write to AD Failed
Next Topic:gpupdate error with event id userenv 1041
Goto Forum:
  


Current Time: Thu Sep 21 08:09:56 EDT 2017

Total time taken to generate the page: 0.02391 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software