Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 3457

Undo ManagementRoleAssignment cmdlet?

$
0
0

I followed cmdlets that are required to get the GFI MailArchiver Mailbox Folder Structure Retrieval working with no problem. I was successful with their instructions.

However, one of "GFI's" techs said I could use anybody. So I chose a random user named say “Jane Doe” now “Jane” has administrative permission to all mailboxes. How do I reverse their commands so I can start over?

Their instructions show to do the following;

  1. Run the following cmdlet:
    1. New-ManagementScope -name "MAUMPolling" -recipientrestrictionfilter {recipienttype -eq "UserMailbox"}
  2. Once the above is complete, run the following cmdlet (the account used in this step cannot have domain administrator rights):
    1. New-ManagementRoleAssignment -name "MAUMPollingRA" -role:applicationimpersonation -user "masynch@domain.com" -customrecipientwritescope "MAUMpolling"

Example of what I ran: New-ManagementRoleAssignment -name "MAUMPollingRA" -role:applicationimpersonation -user "Jane.Doe@mydomain.com" -customrecipientwritescope "MAUMpolling"

Win2012/Ex2013 sp1


PennyM



Viewing all articles
Browse latest Browse all 3457

Trending Articles



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