Roles
Get Roles / permission for a user
Get Roles / permission for a user
Get-ManagementRoleAssignment -GetEffectiveUsers | ?{$_.EffectiveUserName -eq "Kevin Curran"} | select Role
Event logs
Event logs
Turn logging down after done troubleshooting
Get-EventLogLevel | where {$_.EventLevel -eq "expert"} Get-EventLogLevel | where {$_.EventLevel -eq "expert"} | Set-EventLogLevel -Level Lowest
New-ManagementRoleAssignment -Name "Import Export" -User "user name" -Role "Mailbox Import Export" Remove-ManagementRoleAssignment -Identity "Import Export"
Get-ManagementRoleAssignment -RoleAssignee "User Name" | Out-GridView
Lame
Lame
Running this script from the server I was able to run Get-MailboxExportRequest to stop returning an error "Couldn't find the Enterprise Organization container."
C:\Program Files\Microsoft\Exchange Server\V14\Bin\exshell.psc1