Created
November 27, 2014 12:59
-
-
Save constructor-igor/03515c762df8587415fd to your computer and use it in GitHub Desktop.
Powershell: list of all Outlook contacts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Outlook=NEW-OBJECT –comobject Outlook.Application | |
$Contacts=$Outlook.session.GetDefaultFolder(10).items | |
$Contacts | Format-Table FullName,MobileTelephoneNumber |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there. I need to use something like this, but We have a Exchange server and th script doesn't charge info at all, maybe because the info it's stored in other folder.