Link to home
Start Free TrialLog in
Avatar of amku03
amku03

asked on

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
Avatar of Shabarinath TR
Shabarinath TR
Flag of India image

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
ASKER CERTIFIED SOLUTION
Avatar of Shabarinath TR
Shabarinath TR
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of amku03
amku03

ASKER

Thanks