$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

By admin

Leave a Reply

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