$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
$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