phirebird

Add an email address alias to an Exchange account

Just a very quick one. Most people probably know this already – but just to show how to add/manage email address aliases:

  1. Fire up “Active Directory Users & Computers”
  2. Locate the user and look at the objects properties
  3. In the Email Addresses tab - you’ll have a list of various entries. All of the ‘SMTP’ type are email addresses / aliases. The one in bold is the primary account.
  4. To add a new alias: click New, select ‘SMTP address’, click OK and enter the desired email address.

Simples!
 

Did you find this hint useful? Are you looking to learn more about Exchange? Well, here’s a few books that I’ve found useful – have a goosie!


Microsoft Exchange Server 2003 Training kit
 
Mastering Microsoft Exchange Server 2003
 
Configuring Microsoft Exchange Server 2007 Training Kit
 
Microsoft Exchange Server 2007 for Dummies

 

 

Adding new / Changing existing email domains in Microsoft Exchange

If this isn’t a once-in-a-blue-moon task that needs mentioning – I don’t know what is! How often do you get a new domain or rebrand your company? After Finance have done their bit and Marketing have diddled around with PR mumbo jumbo, the real work down in the IT department is to tell your Exchange server to start accepting email for a new domain. Well, it’s quite simple:

  1. Open Exchange Sytem Manager
  2. Goto Recipients -> Recipient Policies
  3. Right-click / Properties on your default policy
  4. Look under the “E-Mail Addresses (Policy)” tab

In here, you’ll have a list of domains that your exchange box accepts and sends email for. The SMTP entry in bold is your primary domain. From here, you can either editing an existing domain – or create a new SMTP ‘address’. Be aware that setting a new domain to primary (especially in large organisations) will take some time! (as it’s got to go through every AD account and set the primary domain)

 

Did you find this hint useful? Are you looking to learn more about Exchange? Well, here’s a few books that I’ve found useful – have a goosie!


Microsoft Exchange Server 2003 Training kit
 
Mastering Microsoft Exchange Server 2003
 
Configuring Microsoft Exchange Server 2007 Training Kit
 
Microsoft Exchange Server 2007 for Dummies

 

 

Map drives based on user’s AD group membership using IFMEMBER

Login scripts are very handy – but when it comes to mapping drives (or processing other commands) based on the users active directory group membership – it can be a bit of a pain.

Thats where Ifmember.exe (part of the Windows Server 2003 Resource Kit) comes in.

You can get this to work for you in one of two ways. The first is to have it call it from within your login script and then evaluate the errorlevel (Errorlevel 1 if they are a member or 0 if not) – which is multiline and not very tidy. The other option is to use conditional execution (executes additional commands depending on which errorlevel the command returns).

Perhaps the best way to explain this is through a few examples:

ifmember Finance || net use f: \\server\finance

Assuming that the current user *is* a member of the ‘Finance’ group – it will map drive F. Similarly, you can use && instead to process commands if the user is *NOT* a member of Finance:

ifmember Finance && net use f: \\server\someothershare

Of course, these examples both assume that ifmember.exe is in the local machines search path (or it’s being called from the same directory as the script). Another option is that you could call it through a UNC path:

\\server\tools\ifmember.exe Finance || net use f: \\server\finance

 Which works quite well!

You can obtain ifmember.exe either as part of the Windows 2003 Server Resource Kit Tools from Microsoft here (which is well worth doing!):

http://www.microsoft.com/Downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

Or you can get just the file itself from:

http://www.microsoft.com/downloads/details.aspx?FamilyID=07C2F6D7-815E-4FA0-9043-4E4635CCD417&displaylang=en

 

Did you find this hint useful? Are you looking to learn more? Well, here’s a few books that I’ve found useful – have a goosie!


Active Directory for Dummies
 
Microsoft Windows Shell Script Programming
 
Microsoft Windows Script Host
 
Mastering Windows Server 2003

 

 

phirebird