Entradas

Mostrando entradas de noviembre, 2018

How to find the mailbox sizes in Exchange 2010 via Powershell

Imagen
Thanks to: https://www.oxfordsbsguy.com/ Below are a few scripts that will help with Exchange 2010 reporting. Get-Mailbox  will show you mailbox name, alias, server and prohibit send quota. It’s a start, but no information on mailbox sizes. Using the first script from the Exchange 2007 post you need to add the  -server  switch,  Get-MailboxStatistics  -server SERVERNAME  | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount  to get the following report. By adding a redirect you can output the report details to a text file. Get-MailboxStatistics -server SERVERNAME | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(KB)”;expression={$_.TotalItemSize.Value.ToKB()}},ItemCount > c:\reports\mailbox_sizes.txt

How to copy incoming or outgoing emails to another mailbox in Exchange 2007 or 2010

Imagen
Thank to: https://www.oxfordsbsguy.com/ Occasionally you may have a requirement to copy incoming or outgoing emails for specific users to another mailbox for monitoring or compliance purposes. To be able to do this you can use an Exchange Transport Rule. First open the  Exchange Management Console , expand  Organization Configuration , and select  Hub Transport . Right click the blank space in the main window and select  New Transport Rule . Enter the name for your new transport rule, click  Next . Select the conditions you want for the rule. Select  from people  as a condition, and then click the underlined value  people  to select from which people you want the rule to apply to. Click  Add , and then add the email accounts you want to copy emails from. In our example we want to copy emails from the accounts mailbox. Click  OK. Click  Next . Now select the Action for the rule, in our scenario we are going to choose  Blind carbon copy (Bcc) the message to addre