katacracks
asked on
search the telephone number of the contacts
Hi
I'm need a script that will search the telephone numbers of the contacts existing in the private and/or public users folders of an Exchange 2007 within Active Directory.
WSH/VBscript is ok but Windows Powershell would be cool.
Thanks.
I'm need a script that will search the telephone numbers of the contacts existing in the private and/or public users folders of an Exchange 2007 within Active Directory.
WSH/VBscript is ok but Windows Powershell would be cool.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Get-Contact | where {$_.HomePhone -ne "$null" -or $_.MobilePhone -ne "$null" -or $_.Phone -ne "$null"} | select Name, HomePhone, Phone, MobilePhone