add: Get-ExoOutput function and updated tests
This commit is contained in:
@@ -40,7 +40,7 @@ function Test-MailboxAuditingE5 {
|
||||
|
||||
process {
|
||||
if ($null -ne $allUsers) {
|
||||
$mailboxes = Get-EXOMailbox -PropertySets Audit
|
||||
$mailboxes = Get-ExoOutput -Rec $recnum
|
||||
try {
|
||||
foreach ($user in $allUsers) {
|
||||
if ($processedUsers.ContainsKey($user.UserPrincipalName)) {
|
||||
|
||||
Reference in New Issue
Block a user