Messages in arbitration mailbox will not expire if the arbitration mailbox does not have a retention policy assigned
Run following command to check if arbitration mailbox have retention policy.
Get-Mailbox -Arbitration | fl displayname,retentionpolicy
------------------
DisplayName
: Microsoft Exchange Approval Assistant
RetentionPolicy : ArbitrationMailbox
------------------
If “Microsoft Exchange Approval Assistant” mailbox doesn’t have
any retention policy assigned, you should assign ArbitrationMailbox
policy to it.
In order to manually start retention policy
Start-ManagedFolderAssistant "Microsoft Exchange Approval Assistant"
In order to Check statistics for "Microsoft Exchange Approval Assistant" mailbox use the command below;
Get-Mailbox -arbitration | Get-MailboxStatistics
Read more...
Tuesday, January 6, 2015
Exchange Server ActiveSync User List Powershell
[PS] C:\Windows\system32>Get-ActiveSyncDevice | Get-ActiveSyncDeviceStatistics | select-object DeviceID,Identity,LastSuccessSync |export-csv c:\temp\report.csv
or
Get-CASMailbox -ResultSize Unlimited | where { $_.ActiveSyncEnabled -eq 'True'} | ft name, activesyncenabled –autosize > c:\ActiveSyncEnabled.txt
Read more...
or
Get-CASMailbox -ResultSize Unlimited | where { $_.ActiveSyncEnabled -eq 'True'} | ft name, activesyncenabled –autosize > c:\ActiveSyncEnabled.txt
Read more...
Exchange server view mailbox and archive mailbox size
(Get-Mailbox) | Select-Object name,@{n="Primary Size(MB)";e={(Get-MailboxStatistics $_).totalItemsize.value.toMB()}},@{n="Archive Size(MB)";e={(Get-MailboxStatistics -archive $_).totalItemsize.value.toMB()}} | Export-csv c:\report.csv
Read more...
Read more...
Tuesday, August 12, 2014
Wednesday, August 6, 2014
Active Directory Accounts that do not have Thumbnail Photo
First please download and install
Quest ActiveRoles Management Shell for Active Directory.
and execute the command below;
Get-QADUser -IncludedProperties "thumbnailPhoto" | Where-Object {$_.thumbnailPhoto -eq $null}
Read more...
and execute the command below;
Get-QADUser -IncludedProperties "thumbnailPhoto" | Where-Object {$_.thumbnailPhoto -eq $null}
Read more...
Tuesday, August 5, 2014
Archive Database Statistics
[PS] C:\Windows\system32>Get-MailboxStatistics -Database "Archive Database Name"
Read more...
Read more...
Subscribe to:
Posts (Atom)