May 16, 2011
While using FIM and PowerShell to manage Exchange 2010 I was following along a wonderful article on resource mailboxes that left me wondering a few things.
Exactly how is the data stored in the msExchResourceDisplay and msExchResourceSearchProperties attributes?
How is it stored with multiple custom properties?
Is manipulating those AD attributes sufficient or is PowerShell storing something in the Exchange Data store?
Here are the answers:
- msExchResourceDisplay = “Room,FlatScreenTV” It appears to be a single valued string with commas.
msExchResourceSearchProperties at first blush appears to be a single-valued string with semi-colons, however further examination reveals it to be a multi-valued attribute
- What happens when multiple Resource Custom Properties are set?
msExchResourceDisplay = “Room,FlatScreenTV,Whiteboard”
So the new value is simply added to the old ones.
- Is manipulating these AD attributes sufficient?
Now the reveal:
- Well I came up with another question – What happens if the AD programmer forgets to manipulate both attributes?
If it is missing from Display but is in Search
Then it isn’t visible in the Address Book but a search returns it as a result:
- so what if I put MountedProjector back in Display but it is missing from Search?
It shows up but a search for MountedProjector reveals nothing:
Whereas as search for Whiteboard: