Need help in updating an Enterprise Vault Table through SQL
Hello,
I have recently taken over this environment. There have been a few practices being followed which I may not be very comfortable carrying forward.
There is a regular activity of disabling mailboxes from Archiving. Because there is no systematic way of provisioning users and enabling their mailboxes for archiving, disabling them becomes a little difficult.
As a clean up process (in terms of practices and processes) concerning the interactions with Enterprise Vault, I was looking to disable all mailboxes which according to the ExchangeMailboxEntry table have their ADMbxFlags value set to "2" (meaning disabled users).
Please share your advice on the SQL Query I have come up with...
Update dbo.ExchangeMailboxEntry
Set MbxArchivingState = '2'
Where MbxArchivingState = '1' and ADMbxFlags = '2' and MbxExchangeState = '1'
i'd say as long as you dont have the registry key in place on your EV servers to archive disabled and/or hidden mailboxes then it doesnt really matter if they are "disabled" in EV when the exchange mailbox is disabled. that's why i was asking about the purpose or intent of the process.