Powershell – Get Mailbox permission search on title = InterneServices

$File = “C:\ita\fulldadgang-services.txt”
$AllUsers = get-user -filter {Title -eq “InterneServices”} | select name
$AllUsers | Foreach {
echo “”
echo “”
echo “”
echo $_.name
Get-MailboxPermission -identity $_.name
} | out-File $File

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *