andrewjamesb
Technical User
Hi
Hi
I would be very grateful if someone could help me complete this script i've tried to create below. I just want to grant multiple users full access and send as permissions to several different mailboxes in exchange 2007.
$data = import-csv C:\Users\admin-me\Desktop\scripts\exchange\grantfullmailboxpermis sions\mailboxes.csv
foreach ($line in $data) {Add-MailboxPermission $line.MailboxName $line.userPrincipalName -AccessRights FullAccess -InheritanceType all}
My mailboxes csv file includes two columns one for the actual MailboxName and the other for users id (userPrincipalName)
Any help would be gratefully received
$data = import-csv "C:\Users\admin-me\Desktop\scripts\exchange\grantfullmailboxpermissions\mailboxes.csv"
foreach ($line in $data) {Add-MailboxPermission -Identity $line.MailboxName -User $line.userPrincipalName -AccessRights FullAccess -InheritanceType all}
Hi
I would be very grateful if someone could help me complete this script i've tried to create below. I just want to grant multiple users full access and send as permissions to several different mailboxes in exchange 2007.
$data = import-csv C:\Users\admin-me\Desktop\scripts\exchange\grantfullmailboxpermis sions\mailboxes.csv
foreach ($line in $data) {Add-MailboxPermission $line.MailboxName $line.userPrincipalName -AccessRights FullAccess -InheritanceType all}
My mailboxes csv file includes two columns one for the actual MailboxName and the other for users id (userPrincipalName)
Any help would be gratefully received
$data = import-csv "C:\Users\admin-me\Desktop\scripts\exchange\grantfullmailboxpermissions\mailboxes.csv"
foreach ($line in $data) {Add-MailboxPermission -Identity $line.MailboxName -User $line.userPrincipalName -AccessRights FullAccess -InheritanceType all}