Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 8820

Bulk import mailboxen Exchange 2010

$
0
0

I use a a cvs file with this fields: Name,Alias,UserPrincipalName,Database,OrganzationalUnit,Password. The problem is that the OrganizationalUnit I want to put the users is Users - Company,Users - Test

When I use this command in EMC: Import-csv "c:\newusers.csv"| foreach {new-mailbox -name $_.name -alias $_.alias -userPrincipalName $_.UPN  - Database "First Storage Group\Mailbox Database" -Org Users -Password (ConvertTo-SecureString $_.password -AsPlainText -Force) }, the usermailboxen are made in Users. I have tried DB1,"OU,OU",DB1,{OU,OU}, etc. Can anyone tell me what the syntax must be?


With Kind Regards, F. van 't Hoff


Viewing all articles
Browse latest Browse all 8820

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>