Whitelist sender or domain in Exchange 2010 content filter

To check whats currently whitelisted (Bypassed Recipients):

Get-ContentFilterConfig

To whitelist a single email address:

$list = (Get-ContentFilterConfig).BypassedSenders
$list.add(“new.mail@address.com”)
Set-ContentFilterConfig -BypassedSenders $list

To whitelist an entire domain:

$list = (Get-ContentFilterConfig).BypassedSenderDomains
$list.add(“domain.com”)
Set-ContentFilterConfig -BypassedSenderDomains $list

Source: SBITZ

Office 365 SBS2011 Outlook won’t connect or keeps changing back to local exchange – Autodiscover

On SBS Server
Command Prompt run as admin:
%windir%\system32\inetsrv\appcmd.exe add backup BeforeRemovalAutodiscover

Exchange Management Shell run as admin:
Get-AutodiscoverVirtualDirectory | fl Name, Server, InternaUrl, Identity

Remove-AutodiscoverVirtualDirectory –Identity “identity value retrieved above”

If for some reason you need to restore autodiscover on the SBS server
Command Prompt run as admin:
%windir%\system32\inetsrv\appcmd.exe restore backup BeforeRemovalAutodiscover

Source: BlogsIISNet

Source: Toronto Help Desk

Create OWA only user with no access to workstations

Create user as per usual, then:

1. Create new security group

2. Add user to security group

3. Group Policy Management: Create new Group Policy Object linked at root of domain

4. Right Click and choose edit.
Navigate to: Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > User Rights Assignment

5. Double-click “Deny log on locally”

6. Click “Add User or Group” and add the group you created in step 1. Apply.

7. Wait for Group Policy synchronisation or gpupdate /force on computers.

Source: ServerFault

Event ID: 9646 Mapi session exceeded the maximum if 500 objects of type “objtFolder”

Outlook is not updating folders automatically on machine with more than one active mailbox.

Server shows Event ID: 9646 in logs.

Regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchangeIS\ParametersSystem

New Key: MaxObjsPerMapiSession
New DWORD: objtFolder value of 1000
New DWORD: objtFolderView value of 1000

You do not need to restart exchange.

Source: The Intengrity

Exchange 2010 SP1/SP2 – Export mailbox to PST

Exchange Shell:

Assign Permission:
New-ManagementRoleAssignment -Role "Mailbox Import Export" -User "username"
Logout then log back in.

Run Export Request:
New-MailboxExportRequest -Mailbox username -FilePath \\server\share\user.pst

Monitor Status:
Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

Cleanup:
Get-MailboxExportRequest | Remove-MailboxExportRequest

Source: Stevieg