+1-1+1-1+1-1+1-1...
Exchange 2013 - 특정 그룹 메시지 수/발신 건수 추출 본문
시나리오
21년 2월 한달간 AD 속성 중 extensionattribute15번의 속성이 2341인 메일 사서함의 메일 수/발신 건수 추출
메시지 중 eventid = SUBMIT 인 건 만 조회함
$mailboxes = (Get-ADUser -LDAPFilter "(&(objectclass=user)(mail=*)(extensionattribute15=2341))" `
-SearchScope Subtree -SearchBase "OU=testlab,DC=testlab,DC=net").UserPrincipalName `
| get-mailbox | Select WindowsEmailAddress
$mailboxes | %{Get-MessageTrackingLog -EventId SUBMIT -Sender $_.WindowsEmailAddress `
-Start "02/01/2021 00:00:00" -End "02/28/2021 11:59:59"} `
| Export-Csv -Path F:\MSGTRACKIN_SEND_SHOPPING.csv -NoTypeInformation -Encoding UTF8
$mailboxes | %{Get-MessageTrackingLog -EventId SUBMIT -Recipients $_.WindowsEmailAddress`
-Start "02/01/2021 00:00:00" -End "02/28/2021 11:59:59"} `
| Export-Csv -Path F:\MSGTRACKIN_RECEIVE_SHOPPING.csv -NoTypeInformation -Encoding UTF8
$mailboxes = $null
메시지 추적 로그 검색
관리자는 Exchange PowerShell의 Get-MessageTrackingLog cmdlet을 사용하여 Exchange 2016 및 Exchange 2019에서 메시지 추적 로그를 검색하는 방법을 Get-MessageTrackingLog 있습니다.
docs.microsoft.com
www.codetwo.com/admins-blog/message-tracking-logs-exchange/
Message tracking logs in Exchange - Understanding their structure
Message tracking logs in Exchange are a source of information on the mail flow. This article explains the structure of message tracking logs and shows how to gather relevant data using Get-MessageTrackingLog cmdlet. See how to use message tracking logs for
www.codetwo.com
Message tracking
Summary: Learn about message tracking and the message tracking log in Exchange Server 2016 and Exchange Server 2019.
docs.microsoft.com
'NT > Mail & Exchange' 카테고리의 다른 글
Exchange 2013 - 사서함 용량 DB에 저장 (쓰레드 사용) (0) | 2021.03.05 |
---|---|
Exchange 2013 - 특정 그룹 메시지 수/발신 건수 추출(2) (0) | 2021.03.05 |
메일 메시지 삭제 하기 (0) | 2021.02.21 |
SPF, PTR, White 도메인.. (0) | 2021.02.18 |
메일 SMTP 오류 코드 정리 (0) | 2021.02.17 |