Solved

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

Posted on 2010-11-17
3
2,116 Views
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
0
Comment
Question by:amku03
  • 2
3 Comments
 
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

Cheers
Shaba
0
 
LVL 14

Accepted Solution

by:
Shabarinath Ramadasan earned 500 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
Shaba
0
 

Author Closing Comment

by:amku03
ID: 34166368
Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

679 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