mirror of
https://github.com/admindroid-community/powershell-scripts.git
synced 2025-12-29 16:14:48 +00:00
Office 365 Shared Mailbox Permission Report
Office 365 Shared Mailbox Permission Report
This commit is contained in:
@@ -206,10 +206,10 @@ function main{
|
||||
}
|
||||
}
|
||||
}
|
||||
#Getting all User mailbox
|
||||
#Getting all Shared mailbox
|
||||
else
|
||||
{
|
||||
Get-mailbox -RecipientTypeDetails Shared -ResultSize Unlimited | foreach{
|
||||
Get-mailbox -RecipientTypeDetails SharedMailbox -ResultSize Unlimited | foreach{
|
||||
$SharedMBCount++
|
||||
Get_MBPermission}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user