Lync profile Pic

Hi Peeps.

we have Lync 2013. Users want to put their profile picture up cause we all look so good. maybe no me... anyways. issue is that the option is greyed out. I was told there is a powershell command to allow users to change their own picture.

anyone know what this command is?
LVL 1
AncientsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SreRajCommented:
Hi,

You could use the following Exchange Management Shell command to upload a picture for a user. This command is supported in both Exchange 2010 and 2013.

Import-RecipientDataProperty -Identity <UserName> -Picture -FileData ([Byte[]]$(Get-Content -Path "C:\pictures\UserPicture.jpg" -Encoding Byte -ReadCount 0))

Open in new window


The recommended thumbnail photo size in pixels is 96x96 pixels.

Ref: http://blogs.technet.com/b/exchange/archive/2010/03/10/3409495.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SreRajCommented:
If you have both Lync 2013 and Exchange 2013 in your enivornment, photo can be stored as part of user mailbox which eliminates the concern regarding photos being stored in AD Database. Also, this allows photo sizes up to 648 pixels by 648 pixels. In addition to that, Exchange 2013 can automatically resize these photos for use in different products as needed.

$photo = ([Byte[]] $(Get-Content -Path "C:\Photos\Kenmyer.jpg" -Encoding Byte -ReadCount 0))
Set-UserPhoto -Identity "Ken Myer" -PictureData $photo -Confirm:False
Set-UserPhoto -Identity "Ken Myer" -Save -Confirm:False

Open in new window

Ref: http://technet.microsoft.com/en-us/library/jj688150.aspx

If you have Outlook 2013 in your environment, users could upload their photo.

Ref: http://msexchangeteam.in/gal-photos-in-exchange-server-2013/
0
AncientsAuthor Commented:
no we have lync 2013
servers all 2008 R2
and exchange 2010

I was told there was a powershell command that enabled the photo option so that users can upload their own pic. I wish I asked then what that script was.
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

SreRajCommented:
The "Edit or Remove Picture" button in Lync 2013 client works if you have Exchange 2013 in your environment, else it is grayed out. Since you have Exchange 2010 in your environment, picture will be retrieved from Active Directory.

You could use the Powershell cmdlet Import-RecipientDataProperty to upload pictures. This has to be done from Exchange Server Command Shell. I feel there is not option to upload photos from Lync 2013 Client if you have Exchange 2010 in your environment.

Ref: http://social.technet.microsoft.com/Forums/lync/en-US/5193e93a-48c2-43a8-8f78-686ef09f8976/lync-2013-profile-picture-the-option-edit-or-remove-picture-is-greyed-out

You could use 3rd party tools to manages photos in AD. Following are some of them.

http://blogs.msdn.com/b/croman/archive/2011/04/07/update-your-active-directory-picture-with-the-ad-photo-edit-tool.aspx
http://www.codetwo.com/freeware/active-directory-photos/
0
AncientsAuthor Commented:
During a Lync 2013 training. The question was raised about having the users enabled to upload their own photo from their machine on their lync client. the instructor said this was achieved by using a powershell command on the Lync server. I regret not getting it down then but need it.

you are saying this can not be achieved? I will go through your links thanks SreRaj
0
SreRajCommented:
Users can upload photo from Lync 2013 client if you have Exchange 2013 in your organization. Since you having Exchange 2010 in your organization, I feel it will not work for your users.
0
AncientsAuthor Commented:
Not what I was after but offered other options
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Chat / IM

From novice to tech pro — start learning today.