Platform SDK: Exchange Server |
To import directory attributes with DSIMPORT
Obj-Class,Common-Name,Mail-Nickname,Obj-Container,Home-Server, Delivery-Mechanism,Members,Assoc-NT-Account,Obj-Admins,Obj-Users, Display-Name,Given-Name,Surname,Target-Address,Hide-From-AB Mailbox,joeh,joeh,Recipients,BERKELEY,0,Corporate,,,REDMOND\ a-teresa%REDMOND\willh,Joe Howard,Joe,Howard,,0 Mailbox,annd,annd,Recipients,BERKELEY,0,,,,REDMOND\ Klein,Alison Anderson,Amy,Devon,,0 Mailbox,chrisb,chrisb,Recipients,BERKELEY,0,,,,, Chris Bauknecht,Chris,Bauknecht,,0 Mailbox,kimh,kimh,Recipients,BERKELEY,0,,,,REDMOND\v-kimh, Kim Hightower,Kim,Hightower,,0
DSIMPORT /DSA=BERKELEY /BASEPOINT=/o=Litware/ou="North America" /CONTAINER=Recipients /FILE=fromHR.csv
This command imports entries listed in the FROMHR.CSV sample file into the BERKELEY server's directory. The import operation points to the basepoint (which is in the Litware organization and on the North America site) and adds the new mailboxes to the Recipients container under this basepoint. The quotation marks around the site name are necessary because the site name contains a space.