Exchange 2007 Custom Attributes
When creating a dynamic distribution list in Exchange 2007 you have the option to pull from one of the custom attributes. How can I have the custom attribute field (ie Custom Attribute 2) auto-populate information that is in the Office field of the
user account.
User A has the office field of their user account with Bolivia. How can I get Bolivia to automatically populate into the Custom Attribute 2 field in Exchange. So when I create my dynamic distribution list I can point it to custom attribute 2
for population.
May 4th, 2011 2:02pm
Why not create the DDL with office attribute instead?
otherwise you can create a script the on a schedule basis copy informtioan from office attriubute to a custom attribute
lasse at humandata dot se, http://anewmessagehasarrived.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
May 4th, 2011 3:20pm
On Wed, 4 May 2011 17:57:14 +0000, sandowmedia wrote:
>
>
>When creating a dynamic distribution list in Exchange 2007 you have the option to pull from one of the custom attributes. How can I have the custom attribute field (ie Custom Attribute 2) auto-populate information that is in the Office field of the user
account.
>
>User A has the office field of their user account with Bolivia. How can I get Bolivia to automatically populate into the Custom Attribute 2 field in Exchange. So when I create my dynamic distribution list I can point it to custom attribute 2 for population.
Why not just use EMS to create the dynamic distribution group and use
the "office" attribute as the discriminator? The GUI is pretty limited
in what it offers.
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
May 4th, 2011 4:05pm
On Wed, 4 May 2011 17:57:14 +0000, sandowmedia wrote:
>
>
>When creating a dynamic distribution list in Exchange 2007 you have the option to pull from one of the custom attributes. How can I have the custom attribute field (ie Custom Attribute 2) auto-populate information that is in the Office field of the
user account.
>
>User A has the office field of their user account with Bolivia. How can I get Bolivia to automatically populate into the Custom Attribute 2 field in Exchange. So when I create my dynamic distribution list I can point it to custom attribute 2 for population.
Why not just use EMS to create the dynamic distribution group and use
the "office" attribute as the discriminator? The GUI is pretty limited
in what it offers.
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
The parameters of cmdlet “New-DynamicDistributionGroup” do not contain “Office”, and I would suggest we use EMS to modify user’s attributes
fist. Sample:
Get-Mailbox | Where {$_.office –eq Bolivia} | Set-Mailbox –Customttribute2 Bolivia
Or
Get-Mailbox –Server <the server name> | Set-Mailbox –Customattribute2 Bolivia
Note: the sample above is only provided for reference. Make a test before apply it to all users.
The EMS cmdlet parameter highly depends on your organization configuration. If the users are well organizaed, we may use various cmdlets and the corresponding parameters to modify
users’ attributes. For more information, please refer to the followoing microsoft articles:
How to Create a New Dynamic Distribution Group
http://technet.microsoft.com/en-us/library/aa996561(EXCHG.80).aspx
New-DynamicDistributionGroup
http://technet.microsoft.com/en-us/library/bb125127(EXCHG.80).aspx
Using the Exchange Management Shell
http://technet.microsoft.com/en-us/library/bb123778(EXCHG.80).aspx
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 11th, 2011 12:10am
On Wed, 11 May 2011 04:04:29 +0000, Fiona_Liao wrote:
>On Wed, 4 May 2011 17:57:14 +0000, sandowmedia wrote: > > >When creating a dynamic distribution list in Exchange 2007 you have the option to pull from one of the custom attributes. How can I have the custom attribute field (ie Custom Attribute 2) auto-populate
information that is in the Office field of the user account. > >User A has the office field of their user account with Bolivia. How can I get Bolivia to automatically populate into the Custom Attribute 2 field in Exchange. So when I create my dynamic distribution
list I can point it to custom attribute 2 for population. Why not just use EMS to create the dynamic distribution group and use the "office" attribute as the discriminator? The GUI is pretty limited in what it offers. --- Rich Matheisen MCSE+I, Exchange MVP
>--- Rich Matheisen MCSE+I, Exchange MVP
>
>
>
>
>
>The parameters of cmdlet ?New-DynamicDistributionGroup? do not contain ?Office?, and I would suggest we use EMS to modify user?s attributes fist. Sample:
Use the -RecipientFilter parameter and "Office -eq 'bolivia'".
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
May 11th, 2011 11:01pm