Powershell – Show witch users have access to mailboxes
$file = “C:\ita\fulladgang.txt” $AllUsers = get-mailbox | select SamAccountName, name, alias $AllUsers | Foreach { echo “” echo “” echo “” echo $_.name get-mailboxfolderpermission -identity $Mailbox } | out-File $File