Sunday, January 25, 2015

Change moderated mailbox approval period

Exchange Management Shell

set-retentionpolicytag ModeratedRecipients -AgeLimitForRetention 15 --> (day)
Read more...

Tuesday, January 13, 2015

Extend / Resize Snapmirror Volume

FAS20xx in source , to a FAS20xx in Destination

1) Break the mirror on FAS20xx in destination
2) Resize the volume of FAS20xx in source
3) Resize the FAS20xx in destination backup Volume with same size of volume FAS20xx in source primary volume
    (You can keep the destination much higher in space.)



5) Initialize the snapmirror on FAS20xx in destination


 If you get  Volume has a fixed filesystem size (fs_size_fixed) error while you are trying to resize volume. You should turn fixed file system option off.

1)Execute df -h on console to see all volumes.

2) vol options volume fs_size_fixed off
 

Read more...

Tuesday, January 6, 2015

Exchange Server moderation not working

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...

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...

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...
 
span.fullpost {display:none;}