Solved

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

Posted on 2010-11-17
3
2,101 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
In this video we show how to create an Address List 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 Organization >> Ad…

778 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