Показать полную графическую версию : [решено] Дата последнего прочитанного сообщения во входящих
DJ Mogarych
03-09-2019, 15:51
Здравствуйте, коллеги!
Как можно получить дату последнего прочитанного сообщения во входящих ящика через Powershell в Exchange server 2013?
Мне это нужно для определения того, используется ящик или нет.
Спасибо!
получение статуса read\unread
https://practical365.com/exchange-server/tracking-read-email-messages-exchange-server/
получение даты логона (IMHO - это правильней, чем искать read\unread)
https://social.technet.microsoft.com/wiki/contents/articles/52845.exchange-201020132016-get-last-logon-time-for-mailbox-in-an-ou.aspx
DJ Mogarych
04-09-2019, 10:32
это правильней, чем искать read\unread »
К сожалению, нет:
If you look at the documentation for Get-MailboxStatistics, you see that the cmdlet returns information about a mailbox like “the last time it was accessed.” That doesn’t mean the last time the owner or a delegate accessed the mailbox. It means any access to the mailbox. And because modern versions of Exchange are stuffed full of mailbox assistants (more so for Exchange Online), all doing important work to keep mailboxes healthy, the last logon time often means the last time an assistant accessed the mailbox.
https://www.petri.com/get-mailboxstatistics-cmdlet-wrong
А (Get-OrganizationConfig).ReadTrackingEnabled у меня False, включение надо согласовывать, вряд ли это прокатит.
Я думал в сторону EWS, просто там синтаксис сложноват и в готовом виде я не смог нагуглить.
UPD: нашёл!
https://gsexdev.blogspot.com/2012/02/howto-series-sample-1-unused-mailbox.html
© OSzone.net 2001-2012
vBulletin v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.