Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
352 views
in Technique[技术] by (71.8m points)

Pulling Permissions From Exchange 2016 PowerShell

I am trying to find out who has Full Access to mailboxes in Exchange 2016 via PowerShell.

PS C:Windowssystem32> Get-Mailbox | Get-MailboxPermission | Where-Object {($_.AccessRights -eq "FullAccess") -and ($_.User -like 'domainuser') -and ($_.IsInherited -eq $false)} | Export-Csv C:empmailpermissions.csv

When I run it I don't get an error and it creates the .csv but it doesn't pull any data.

I have a lot of users with full access to other email accounts so I am missing something.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...