Michael Leonard
asked on
we have one shared mailbox with 100+ automapped profiles, how can we clear this with powershell
can someone provide a script we can use to clear 100+ automapped profiles from one of our exchange service account mailboxes?
thx in advance.
thx in advance.
ASKER
hi Dsuyemoto - just looking at your script now
lets call the service account svc-exch
when I log into "svc-exch" there are hundreds of profiles mapped, since this account was set to have full access on many accounts and automap set to $true
the script you provided shows what mailboxes have full access to svc-exch .. the other way around.
I need to unmap hundreds of accounts that svc-exch has an automap setup with.
lets call the service account svc-exch
when I log into "svc-exch" there are hundreds of profiles mapped, since this account was set to have full access on many accounts and automap set to $true
the script you provided shows what mailboxes have full access to svc-exch .. the other way around.
I need to unmap hundreds of accounts that svc-exch has an automap setup with.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
Please have a look at the below URL.
http://markgossa.blogspot.se/2015/10/exchange-2013-remove-outlook-automapping.html
Thanks
Please have a look at the below URL.
http://markgossa.blogspot.se/2015/10/exchange-2013-remove-outlook-automapping.html
Thanks
ASKER
hi dsuyemoto - when I run your script with the -whatIF - this is the only output I am seeing [multiple entries]
domain.com/Accounts/Users/Employees/J, SMITH isn't a mailbox user.
+ CategoryInfo : InvalidData: (:) [Get-MailboxPermission], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : FB165A7F,Microsoft.Exchange.Management.RecipientTasks.GetMailboxPermission
Try using RemoveAutoMap(get-mailbox) instead.
ASKER
thanks dsuyemoto, where can I add the -resultsize unlimited parameter? otherwise looks good!
ASKER
thx dsuyemoto - exactly what we were looking for.
thanks dsuyemoto, where can I add the -resultsize unlimited parameter? otherwise looks good!
You can just do RemoveAutoMap(get-mailbox -resultsize 1000)
Open in new window