• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2182
  • Last Modified:

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

Hi I need to export the details of the users with SIP ID enabled.
I am looking for a exchange powershell script
0
amku03
Asked:
amku03
  • 2
1 Solution
 
Shabarinath RamadasanInfrastructure ArchitectCommented:
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
 
Shabarinath RamadasanInfrastructure ArchitectCommented:

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
 
amku03Author Commented:
Thanks
0
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now