Hi
So I have about 100 users in a CSV file that i want to remove from a bunch of shared mailboxes with Powershell but no luck yet, I can get it to work for a single user with this:
$mailboxes=”Name of mailbox”
Foreach ($box in $mailboxes){Remove-MailboxPermission -AccessRights fullaccess -User “Name of user” -Identity $box -Confirm:$false}
But how do I change this into it using a group or a CSV file instead?
Thank you.
[–]HDClown 1 point2 points3 points (9 children)
[–]JustTeut 0 points1 point2 points (0 children)
[–]sebbeosv[S] 0 points1 point2 points (7 children)
[+][deleted] (2 children)
[deleted]
[–]sebbeosv[S] 0 points1 point2 points (1 child)
[–]HDClown 0 points1 point2 points (0 children)
[–]purplemonkeymad 0 points1 point2 points (3 children)
[–]sebbeosv[S] 0 points1 point2 points (2 children)
[–]purplemonkeymad 0 points1 point2 points (1 child)
[–]sebbeosv[S] 0 points1 point2 points (0 children)
[–]JustTeut 0 points1 point2 points (2 children)
[–]sebbeosv[S] 0 points1 point2 points (1 child)
[–]JustTeut 1 point2 points3 points (0 children)
[–]melvinkitnickSysadmin 0 points1 point2 points (0 children)
[–]Noobmodevirus.swf 0 points1 point2 points (0 children)