List all the address book contacts in outlook

G

gervaz

Hi all, I need to retrieve all the contacts that are in my address
book in outlook in order to look for particular emails, looking around
I just found this script quite useful but it is not exactly what I'm
looking for. In fact I need to search all my conctacts in the address
book....

$outlook = New-Object -ComObject "outlook.application"
$c = $outlook.getnamespace("mapi").getdefaultfolder(10)
foreach($tt in $c.items) { echo($tt.account + " - " + $tt.fullname) }

Thanks,
Mattia
 

My Computer

Top