Skip to content

Commit 13591ae

Browse files
committed
Update Invoke-ListMailboxes.ps1
1 parent 57a304c commit 13591ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ListMailboxes.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ Function Invoke-ListMailboxes {
5656
}
5757
}
5858

59-
$GraphRequest = (New-ExoRequest @ExoRequest) | Select-Object id, ExchangeGuid, ArchiveGuid, WhenSoftDeleted, @{ Name = 'UPN'; Expression = { $_.'UserPrincipalName' } },
60-
59+
$GraphRequest = (New-ExoRequest @ExoRequest) | Select-Object id, ExchangeGuid, ArchiveGuid, WhenSoftDeleted,
60+
@{ Name = 'UPN'; Expression = { $_.'UserPrincipalName' } },
6161
@{ Name = 'displayName'; Expression = { $_.'DisplayName' } },
6262
@{ Name = 'primarySmtpAddress'; Expression = { $_.'PrimarySMTPAddress' } },
6363
@{ Name = 'recipientType'; Expression = { $_.'RecipientType' } },
@@ -76,7 +76,7 @@ Function Invoke-ListMailboxes {
7676
@{ Name = 'LicensedForLitigationHold'; Expression = { ($_.PersistedCapabilities -contains 'BPOS_S_DlpAddOn' -or $_.PersistedCapabilities -contains 'BPOS_S_Enterprise') } },
7777
ComplianceTagHoldApplied,
7878
RetentionHoldEnabled,
79-
InPlaceHolds,
79+
InPlaceHolds
8080

8181
$StatusCode = [HttpStatusCode]::OK
8282
} catch {

0 commit comments

Comments
 (0)