Powershell Script to export users with SIP ID enabled for OCS 2007

Posted on 2010-11-17
Medium Priority
Last Modified: 2012-06-27
Hi I need to export the details of the users with SIP ID enabled.
I am looking for a exchange powershell script
Question by:amku03
  • 2
LVL 14

Expert Comment

by:Shabarinath Ramadasan
ID: 34161636
Try this.

Get-QADUser -LdapFilter "(&(objectcategory=user)(msRTCSIP-UserEnabled=TRUE))" |select-object samaccountname

This needs quest commandlets for active directory.

If you dont have it, try with dsquery

dsquery * -filter "(&(objectcategory=user)(msRTCSIP-UserEnabled=TRUE))" -limit 0 -attr samaccountname, displayname

LVL 14

Accepted Solution

Shabarinath Ramadasan earned 2000 total points
ID: 34161648

Get-QADUser -LdapFilter "(&(objectcategory=user)(msRTCSIP-UserEnabled=TRUE))" -SizeLimit 0 |select-object samaccountname

Use -Sizelimit 0 if you have more than 1000 objects

Good luck

Author Closing Comment

ID: 34166368

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The Exchange database may sometimes fail to mount owing to various technical reasons. A dismounted EDB file can be the source of many Exchange errors including mailbox inaccessibility for users. Resolving the root cause of mounting problems becomes …
This article explains how to move an Exchange 2013/2016 mailbox database and logs to a different drive.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question