Set CustomAttribute1 on Users and Contacts
How would I use the EMS to set the customattribute1 value on both contacts and user accounts? can't find any answers anywhere.... thanks
April 4th, 2008 12:33am

If you just want to do one contact or user ata time: Set-MailContact -Identity <ContactIdentity> -CustomAttribute1 "Foo" Set-Mailbox -Identity <MailboxIdentity> -CustomAttribute1 "Foo" or Set-MailUser -Identity <UserIdentity> -CustomAttribute1 "Foo" Now, if you want to do multiple, you will need touse the corresponding get- cmdlet ina piped command: This will change all Mailusers: Get-MailUser | Set-MailUser -CustomAttribute1 "Foo" This will change mailusers who are in a specific organizational unit: Get-MailUser -OrganizationalUnit westcoast.contoso.com/users | Set-MailUser -CustomAttribute1 "Foo" Go to this link to get the recipient cmdlets and parametersthat you want to use: http://technet.microsoft.com/en-us/library/bb124233(EXCHG.80).aspx
Free Windows Admin Tool Kit Click here and download it now
April 4th, 2008 6:33pm

thanks!
April 7th, 2008 5:22am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics