본문 바로가기
카테고리 없음

[Exchange Server] 특정 속성이 Null 값인 사서함 Export 하기

by aner 2021. 7. 27.
반응형

$AllMailbox = get-mailbox -database "database name" |  where-object {($_.PrimarySmtpAddress -notlike $null)}


$AllMailbox|%{New-MailboxExportRequest -Mailbox ($_.Name) -FilePath \\exchmbx33\pst_test\$($_.PrimarySmtpAddress).pst

반응형