Home » Posts tagged 'Exchange'

Tag Archives: Exchange

Dynamic Distribution Groups and Exchange Hybrid Problems

DirSync does not replicate Dynamic Distribution Groups between the cloud and the on premise servers.

dynamic distribution groups not showing on Office 365 users GAL

NoReplyAll Outlook Add-In

The Outlook Add-In can be download from this page: http://research.microsoft.com/en-us/downloads/60860f41-88ab-4bb4-8104-765feca9cfed/default.aspx

The primary function of this add-in is to add a few buttons to the Outlook ribbon to prevent people from replying to all the recipients of your message or forwarding it, etc. The add-in uses a facility built into Outlook and Exchange that is more lightweight than information-rights management but is not exposed in the existing UI. The add-in also includes a check for common email errors, such as omitting attachments or subject lines.

Allow Anonymous Relay Through Exchange Hub Transport

Use this Exchange Management Shell command to allow anonymous relay to external domains. (This should not be done on external facing servers.)

Get-ReceiveConnector "<servername>\Receive Connector Name" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-Accept-Headers-Routing","Ms-Exch-SMTP-Accept-Any-Sender","Ms-Exch-SMTP-Accept-Authoritative-Domain-Sender","Ms-Exch-SMTP-Submit","Ms-Exch-SMTP-Accept-Any-Recipient"

The last ExtendedRights permission is the one that can only be set through the shell.  (The other permissions can be set in the GUI console.)

Set Exchange 2010 Alias to samAccountName

Use these PowerShell commands to set a users Exchange mailbox Alias to their username (AKA samAccountName/samid):
$aliasname = Get-Mailbox -OrganizationalUnit "OUNameHere" -ResultSize Unlimited
$aliasname | Foreach-Object{
$_ | Set-mailbox -Alias $_.SamAccountName

Exchange Address List Segregation

An address list is a collection of recipient and other Active Directory objects. Each address list can contain one or more types of objects (for example, users, contacts, groups, public folders, conferencing, and other resources). You can use address lists to organize recipients and resources, making it easier to find the recipients and resources you want. Address lists are updated dynamically. Therefore, when new recipients are added to your organization, they’re automatically added to the appropriate address lists.


Is very frustrated with Exchange

Is very frustrated with our Exchange providers broken Outlook Anywhere OOF and OAB!

Outlook 2007 Command-line Switches

What are commands and switches?

Each time you start the program, you run the outlook.exe command, although you do not usually type the command or even see it. You can change certain aspects of how the program starts by adding subcommands called switches to the outlook.exe command. (more…)

Tired of working on Exchange

I’m tired of working on Exchange 2007 problems. Now I am going to play video games for a while. #break

Restoring Exchange/Outlook contacts…

Now moving on to finding and restoring the hundreds (thousands?) of lost Exchange/Outlook contacts from migration. #e2k7

Exchange 2007 PowerShell DistributionGroup commands

Here aresome PowerShell cmdlets for working with distribution group in exchange 2007

Get-DistributionGroup – Retrieves properties of a distribution group

New-DistributionGroup – Creates a new distribution group

Remove-DistributionGroup – Deletes a distribution group

Set-DistributionGroup –  Set Properties on a distribution group


How To Create New Exchange 2007 Contacts

You can create (aka import) email contacts in Exchange 2007 from the command line using PowerShell (the Exchange Console). The PS script will read the contact information from a CSV file.

Here is the powershell (Exchange Console) script/command:

Import-Csv contacts.csv | ForEach { New-MailContact -Name $_.displayName -ExternalEmailAddress $_.Emailaddress -OrganizationalUnit "domain.com/company/email/contacts" }

NOTE: be sure to adjust the -OrganizationalUnit parameter in the command above.

CSV file: (contacts.csv)

Mike Wood,michael@example.com
John Q. Customer,johnc@example.org