Exchange 2010

blah

Configure Static port for  MSExchange RPC Port to 55000

http://www.pro-exchange.be/blogs/exchange2010/archive/2010/04/08/configuring-static-ports-for-exchange-2010.aspx

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchangeRPC\ParametersSystem]

"TCP/IP Port"=dword:0000d6d8

Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri "https://autodiscover.blah.com/autodiscover/autodiscover.xml" Get-ClientAccessServer | select name, AutoDiscoverServiceInternalUri

Set-ClientAccessServer -Identity server2 -AutoDiscoverServiceInternalUri "https://autodiscover.blah.com/autodiscover/autodiscover.xml" -AutoDiscoverSiteScope corporate Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory  -InternalUrl "https://activesync.blah.com/ews/exchange.asmx"  Get-WebServicesVirtualDirectory Get-OwaVirtualDirectory | select name, server, internalurl Get-EcpVirtualDirectory | Set-EcpVirtualDirectory -InternalUrl "https://owa.blah.com/ecp" -ExternalUrl "https://owa.blah.com/ecp" Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -InternalUrl "https://owa.blah.com/owa" -ExternalUrl "https://owa.blah.com/owa" Get-OabVirtualDirectory | Set-OabVirtualDirectory -InternalUrl "https://owa.blah.com/OAB" -ExternalUrl "https://owa.blah.com/OAB" Get-OabVirtualDirectory | select server, internalurl

Blackberry

http://docs.blackberry.com/en/admin/deliverables/12142/Configure_Exchange_10_perms_for_Exchange_account_962758_11.jsp

http://docs.blackberry.com/en/admin/deliverables/14347/Disable_client_throttling_Exchange_10_963026_11.jsp

Add new mailbox database

Get-MailboxDatabase mdb1 | Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin

  3 Reg keys

Creating a Custom Managed Folder

Because I do not have all Outlook 2010 clients I am unable to user Retention Tags and policies

http://technet.microsoft.com/en-us/library/dd638169.aspx

New-ManagedFolder -Name 'Company Records' -FolderName 'Company Records' -Comment 'Messages in this folder are retained indefinitely' -MustDisplayComment $true -StorageQuota 2047MB  New-ManagedContentSettings -Name "Company Records" -FolderName "Company Records" -MessageClass * -RetentionEnabled $false New-ManagedContentSettings -Name "Contacts" -FolderName "Contacts" -MessageClass IPM.Contact* -RetentionEnabled $false New-ManagedContentSettings -Name "Notes" -FolderName "Notes" -MessageClass IPM.StickyNote -RetentionEnabled $false  New-ManagedContentSettings -Name "Tasks" -FolderName "Tasks" -MessageClass IPM.Task* -RetentionEnabled $false New-ManagedContentSettings -Name "All Mailbox Folders" -FolderName "Entire Mailbox" -MessageClass "*" -RetentionEnabled $True -RetentionAction "MarkAsPastRetentionLimit" -AgeLimitForRetention "180.00:00:00" -TriggerForRetention "WhenDelivered"  New-ManagedFolderMailboxPolicy "Company Mailbox Policy" -ManagedFolderLinks "Entire Mailbox","Company Records","Contacts","Notes","Tasks"  Set-Mailbox -Identity MySelf -ManagedFolderMailboxPolicy "Company Mailbox Policy"   Start-ManagedFolderAssistant MySelf

After Done testing change the Retention Action to delete messages

Set-ManagedContentSettings "All Mailbox Folders" -RetentionAction "DeleteAndAllowRecovery"

How Retention Age is Calculated

http://technet.microsoft.com/en-us/library/bb430780.aspx

Retire Old Exchange Environment

http://technet.microsoft.com/en-us/library/gg576862.aspx

Recover deleted Mailbox

First you must create a recovery Database (this can't be done from the GUI)

New-MailboxDatabase RecoveryDB -Recovery:$true -EdbFilePath "O:\Exchange\Recover\RecoveryDB.edb" -LogFolderPath "O:\Exchange\Recover" -Server mailserver