Jorge
Thu May 08 06:45:21 PDT 2008
ADFIND and ADMOD could do the job for you by using CSV files
EXPORT:
ADFIND -config -rb "CN=Subnets,CN=Sites" -f "(objectCategory=subnet)"
objectClass siteObject description -adcsv > SUBNETS.TXT
IMPORT
admod -csv -add -import < SUBNETS.TXT
of course you add your own list of attributes to export
have fun
Cheers,
(HOPEFULLY THIS INFORMATION HELPS YOU!)
# Jorge de Almeida Pinto # MVP Identity & Access - Directory Services #
BLOG (WEB-BASED)-->
http://blogs.dirteam.com/blogs/jorge/default.aspx
BLOG (RSS-FEEDS)-->
http://blogs.dirteam.com/blogs/jorge/rss.aspx
------------------------------------------------------------------------------------------
* How to ask a question -->
http://support.microsoft.com/?id=555375
------------------------------------------------------------------------------------------
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always test ANY suggestion in a test environment before implementing!
------------------------------------------------------------------------------------------
#################################################
#################################################
------------------------------------------------------------------------------------------
"Paul Bergson [MVP-DS]" <pbergson@allete_nospam.com> wrote in message
news:OEFIY46oIHA.5096@TK2MSFTNGP02.phx.gbl...
> See if the scripts here are of value to you
>
>
http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true
>
> --
> 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.
>
> "Trust No One®" <dana.scully@usa.xnet> wrote in message
> news:66rupnF2kvdc3U1@mid.individual.net...
>> Hi all,
>>
>> I'm after a script or utility that will allow me to export all the subnet
>> objects in an AD domain, and subsequently import them into another AD
>> domain.
>>
>> So far I've had little success.
>>
>> Has anyone come across such a thing? Several hundred subnets are involved
>> so I'd hate to have to type them all in! :)
>>
>> --
>> Peter <X-Files fan>
>>
>
>