How di I take full mailbox access on group of users in exchange 2007
Query 1: I have a list of users in a CSV file and I need full mail box access on the list. the Csv file contain display names of the users Query 2: I have cmd to get the full mbx access but the csv should contain Alias, My question is: I have a csv file with display name only but how do I get the alias for the list of users Please give me the commands
April 19th, 2012 1:13am

I have used the below command but did not work Import-csv C:\file.csv | ForEach-Object { Add-MailboxPermission -Identity blvb99 -User $_.Displayname -AccessRights FullAccess }
Free Windows Admin Tool Kit Click here and download it now
April 19th, 2012 1:22am

Import-csv C:\file.csv | ForEach-Object {Get-user -Identity $_.Displayname} | Select-object samaccountname | Export-Csv C:\Inputs.csv Above command will help you in getting Samaccountname. Now you can use this to assign mailbopx permission Make sure Inputs.csv has samacccountname line Now you can use below command to assign permission Import-csv C:\file.csv | ForEach-Object { Add-MailboxPermission -Identity xyz -User $_.Samaccountname -AccessRights FullAccess } Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Hasnain Shaikh| My blogs: http://messagingserversupport.com
April 19th, 2012 5:13am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics