Home > Exchange > Upload picture in Outlook 2010 using the Exchange Management Shell (Exchange 2010)

Upload picture in Outlook 2010 using the Exchange Management Shell (Exchange 2010)


 

This guide will help you to understand how to import bulk pictures to Microsoft Outlook (2010 and 2007) using Exchange shell. You have to follow below simple steps to get it done.

1. Create a .CSV file with user logon names and picture paths you want to add.

clip_image001

2. Run the below shell command,

Import-csv C:\Users.csv | % { Import-RecipientDataProperty –Identity $_.username –Picture –FileData ([Byte[]]$(Get-Content –Path $_.picture –Encoding Byte –ReadCount 0)) }

clip_image003

Before add the outlook profile pictures.

clip_image005

As you can see below thumbnailPhoto attribute is null

clip_image007

After add the outlook profile pictures.

clip_image009

As you can see below thumbnailPhoto attribute filled an image path

clip_image011

You can watch the below video, it covers whole area what I discussed in the above article…..

Advertisements
Categories: Exchange
  1. June 20, 2012 at 10:46 am

    Please leave a comment if this article help you guys…. 🙂

  2. Cacophony
    May 21, 2013 at 9:26 pm

    Hello Dilshan I like to know how do you open the attribute editor. I can’t seems to locate it.

  3. May 23, 2013 at 9:39 pm

    You can type adsiedit.msc on run or else you can follow this path Start –> Administrative Tools –> ADSIedit

    • Cacophony
      May 23, 2013 at 11:18 pm

      Ok thanks for your reply, it seems like just running the script took care of everything

  4. May 25, 2013 at 12:13 pm

    Yes it is a simple script…..

  5. September 16, 2013 at 4:52 pm

    I’m really impressed with your writing skills as well as with the layout on your weblog.
    Is this a paid theme or did you customize it
    yourself? Anyway keep up the excellent quality
    writing, it’s rare to see a nice blog like this
    one nowadays.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: