Mandy_
asked on
Set EXchange Custom Attributes related to company with hash table?
hi,
My problem is to create a hash-table to set the correct custom attributes.
The C_attribute 3 related to the company attribute. 1 company should set to value "D"
1 company to value "F" all other to "Q"
The C_attribute 12 should set for about 6 different companies to "ZE" for 3 companies
to KU and to all other to "ER".
$compattrib3 = @{
"contoso" = ''D"
"contoso2" = "F"
"All other" = 'Q'
$compattrib12 = @{
"contoso" = ''ZE"
"contoso2" = "KU"
"All other" = "ER"
Thank you so much for your help.
Mandy!
My problem is to create a hash-table to set the correct custom attributes.
Set-Mailbox -CustomAttribute3 'Q' -CustomAttribute12 'ER' -CustomAttribute11 'EMC' -SingleItemRecoveryEnabled $true -Identity $User.userid
The C_attribute 3 related to the company attribute. 1 company should set to value "D"
1 company to value "F" all other to "Q"
The C_attribute 12 should set for about 6 different companies to "ZE" for 3 companies
to KU and to all other to "ER".
$compattrib3 = @{
"contoso" = ''D"
"contoso2" = "F"
"All other" = 'Q'
$compattrib12 = @{
"contoso" = ''ZE"
"contoso2" = "KU"
"All other" = "ER"
Thank you so much for your help.
Mandy!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you so much. mandy
ASKER
thank you
Open in new window