Re-Create Suggested Contacts (NK2) from Sent Items in Outlook 2010

The script below is a powershell script that, as the title suggests, scans through your Sent Items folder and populates your Suggested Contacts (Outlook 2010 does not use NK2 files but uses Suggested Contacts instead) with email addresses that are not already in your Contacts folder.

To run the script, simply copy and paste it in a powershell window. It does not require admin rights to run if you execute it this way.

Scan Other Folders

For Example, to scan a sub folder of the Inbox called Temporary, use these lines below.
$sentItems = $namespace.getDefaultFolder($olFolders::olFolderInbox)
$sentItems = $sentItems.Folders.Item(“Temporary”)