Здравствуйте, коллеги!
Как можно получить дату последнего прочитанного сообщения во входящих ящика через Powershell в Exchange server 2013?
Мне это нужно для определения того, используется ящик или нет.
Спасибо!
V. 2013 - [решено] Дата последнего прочитанного сообщения во входящих
-
cameron
Re: V. 2013 - [решено] Дата последнего прочитанного сообщения во входящих
получение статуса read\unread
получение даты логона (IMHO - это правильней, чем искать read\unread)
https://practical365.com/exchange-se...change-server/
получение даты логона (IMHO - это правильней, чем искать read\unread)
https://social.technet.microsoft.com...-in-an-ou.aspx
-
DJ Mogarych
Re: V. 2013 - [решено] Дата последнего прочитанного сообщения во входящих
Цитата cameron:
это правильней, чем искать 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.
А (Get-OrganizationConfig).ReadTrackingEnabled у меня False, включение надо согласовывать, вряд ли это прокатит.
Я думал в сторону EWS, просто там синтаксис сложноват и в готовом виде я не смог нагуглить.
UPD: нашёл!
это правильней, чем искать read\unread
V. 2013 - [решено] Дата последнего прочитанного сообщения во входящих
К сожалению, нет:
Цитата:
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-mailboxsta...s-cmdlet-wrong
А (Get-OrganizationConfig).ReadTrackingEnabled у меня False, включение надо согласовывать, вряд ли это прокатит.
Я думал в сторону EWS, просто там синтаксис сложноват и в готовом виде я не смог нагуглить.
UPD: нашёл!
https://gsexdev.blogspot.com/2012/02...d-mailbox.html