Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save constructor-igor/03515c762df8587415fd to your computer and use it in GitHub Desktop.
Save constructor-igor/03515c762df8587415fd to your computer and use it in GitHub Desktop.
Powershell: list of all Outlook contacts
$Outlook=NEW-OBJECT –comobject Outlook.Application
$Contacts=$Outlook.session.GetDefaultFolder(10).items
$Contacts | Format-Table FullName,MobileTelephoneNumber
@idemnos
Copy link

idemnos commented Aug 22, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment