Get-mailbox
Get-mailbox | get-mailboxstatistics | ft displayname,totalitemsize
Get-mailbox | get-mailboxstatistics | sort-object totalitemsize –descending | ft displayname,totalitemsize
Source: Alex De Jong
Get-mailbox
Get-mailbox | get-mailboxstatistics | ft displayname,totalitemsize
Get-mailbox | get-mailboxstatistics | sort-object totalitemsize –descending | ft displayname,totalitemsize
Source: Alex De Jong
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
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 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
EMC
Distribution Group > Mail Flow Settings > Message Delivery Restrictions
Uncheck ‘Require all senders are authenticated”
Source: Microsoft
Exchange Management Shell:
Add-ADPermission “John Simpson” -User “Domain\User” -Extendedrights “Send As”
Source: Technet
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 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
EMC > Organization Configuration > Hub Transport > Default > Properties
Message Format Tab > Tick “Allow Automatic Forward” and/or “Allow automatic replies”
EMC > Organization Configuration > Client Access > Exchange ActiveSync Mailbox Policies
Open Default, Password and untick “Require password”