Help with segregating GAL
I'm try to segregating Global address book and hiding them from other branches, and I was wondering if there is a easy way I'm using the method located at
http://www.exchange-genie.com/2007/10/hidding-global-address-lists-gal-with-exchange-2007/
Since the user accounts are already made I would have to redo the part that states custom attributes. I want to separate them from the attribute company but I would have to reapply those settings for it to be in the new address book. Is there anyway for me
to add or re apply the company attribute or add a custom attribute base on what the company is?
August 5th, 2010 8:32pm
I think I understand what you're asking, but not positive. You could use Powershell to identify users with companyA in the company field and then act based upon this.
get-recipient| where {$_.company -eq "companyA"} | do-something (like set an attribute)
Mike Crowley
Check out My Blog!
Free Windows Admin Tool Kit Click here and download it now
August 7th, 2010 5:45pm
Have you referenced the white paper on the process?
http://technet.microsoft.com/en-us/library/bb936719(EXCHG.80).aspx
Only procedures outlined in that article are tested and supported.
Simon.Simon Butler, Exchange MVP. http://blog.sembee.co.uk , http://exbpa.com/
August 7th, 2010 7:46pm
This is what i want to do.
get-recipient| where {$_.company -eq "MSFT"} | set customattribute16 MSFT
Would that be correct?
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2010 12:36am
On Mon, 23 Aug 2010 21:36:22 +0000, TonyOVT wrote:
>
>
>This is what i want to do.
>
>
>
>get-recipient| where {$_.company -eq "MSFT"} | set customattribute16 MSFT
>
>
>
>Would that be correct?
No. There's no customattribute16. And to what does "set" apply to?
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
August 24th, 2010 5:01am
I would like to put a value in the CustomAttribute16 as MSFT
Currently that value is blank.
What I want to do is for every person from MSFT company will have the CustomAttribute16 as MSFT
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2010 4:39am
On Wed, 25 Aug 2010 01:39:18 +0000, TonyOVT wrote:
>
>
>I would like to put a value in the CustomAttribute16 as MSFT
>
>Currently that value is blank.
>
>What I want to do is for every person from MSFT company will have the CustomAttribute16 as MSFT
There are only 15 extensionAttribute properties.
You're using 'get-recipient' and not filtering either the search or
the results of the search so I don't think that you'll be able to use
a 'set-recipient' to alter the value of a CustomAttribute. Use
"get-mailbox -filter .... -resultsize unlimited | set-mailbox
-customattribute?? 'MSFT'"
or
"get-mailbox -resultsize unlimited | where {....} | set-mailbox
-customattribute?? 'MSFT'"
You can run another set for get/set-mailuser.
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
August 25th, 2010 5:26am
get-mailbox -resultsize unlimited | where {$_.company -eq "test"} | set-mailbox-customattribute15 'test'
I tried this but it didn't work. it says the last value is incorrect.
The term 'set-mailbox-customattribute15' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
At line:1 char:98
+ get-mailbox -resultsize unlimited | where {$_.company -eq "test"} | set-mailb
ox-customattribute15 <<<< test
Free Windows Admin Tool Kit Click here and download it now
August 26th, 2010 2:22am
On Wed, 25 Aug 2010 23:22:42 +0000, TonyOVT wrote:
>
>
>get-mailbox -resultsize unlimited | where {$_.company -eq "test"} | set-mailbox-customattribute15 'test'
>
>I tried this but it didn't work. it says the last value is incorrect.
>
>The term 'set-mailbox-customattribute15' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again. At line:1 char:98 + get-mailbox -resultsize unlimited | where {$_.company -eq "test"} | set-mailb ox-customattribute15
<<<< test
Copy and paste doesn't always work correctly from web pages. There was
a space between "set-mailbox" and "-customattribute15" when I posted
that. It got swallowed when the line wrapped. There's no space in
"set-mailbox", either.
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
August 26th, 2010 4:17am