Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to verify that we are still with in our licence limits for public IM connectivity in Microsoft Office Communications Server 2007. Is there a way to report on which users have the PIC enabled on their account?

I see there are some schema extensions in AD related to other OCS settings, but I do not see one for PIC (unless it is encoded in msrtcsip-optionflags).

share|improve this question
up vote 1 down vote accepted

After some more research, I found the answer to my questions. The PIC settings are stored in the msrtcsip-optionflags field in Active Directory. The options are listed on this page, and public IM is option 0x1.

I put together the following Powershell script to get the user count (it uses Quest's snap-in):

$users = Get-QADuser -LdapFilter '(msrtcsip-primaryuseraddress=*)' -IncludedProperties "msrtcsip-options" -SizeLimit 0
[System.Collections.ArrayList] $picList = new-object System.Collections.ArrayList
foreach ($user in $users)
    if ($user["msrtcsip-optionflags"] % 2 -eq 1)
        $picList.Add($user) |out-null
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.