0 votes

Dear Support,

I want to upload files to the Exchange Server.
We don't have Office 365.


Set-UserPhoto “Nuno Mota” -PictureData ([System.IO.File]::ReadAllBytes(“D:\Photos\nuno.jpg”)) –Confirm:$False

is not know by Adaxes.

I have only found the Upload for Office 365, do you have ideas for this case?

Thank you



by (450 points)

1 Answer

0 votes
by (215k points)
selected by
Best answer

Hello Massimo,

To be able to use Exchange management cmdlets, you need to connect to your Exchange Server via PowerShell Remoting. For information on how to do this, see the following sample in our Script Repository: http://www.adaxes.com/script-repository ... l-s506.htm.


Ok Thank youfor your Answer it is working fine now.

Related questions

0 votes
1 answer

I would like to know if it is possible to use powershell to schedule an appointment in the outlook calendar with variables and send it via exchange Thanks in advance, Simone

asked Sep 22 by Simone.Vailati (130 points)
0 votes
0 answers

When we copy a user to create a new user within Adaxes. The new user is not able to outlook client. The error message is "The connection to Microsoft Exchange is ... rule to create the exchange accounts in both situations. What might be causing this issue?

asked Apr 9, 2015 by ollonw (20 points)
0 votes
1 answer

Hi, I created a distribution group via adaxes web interface. And Established e-mail address for the group. And "Automaticaly update e-mail addresses based on e-mail address policy" ... work fine. I make a mistake but I can not find it. Any suggestion. Thanks

asked Nov 12, 2013 by Erkan.Ozturk (40 points)
0 votes
1 answer

Hey there, Our users manage their distrubution group members via Outlook. Using native AD tools, our service desk technicians are accustomed to having a checkbox underneath the 'Managed ... via Outlook to the new object (Group or User). Thanks in advance! Kirk

asked May 24, 2012 by Kirk (60 points)
0 votes
1 answer

Hello, When running the supplied script for importing a user photo into AD we encounter the following error: Exception calling "SetInfo" with "0" argument(s): "A ... /www.adaxes.com/script-repository/import-user-photo-s244.htm Thank you for your assistance!

asked Oct 26, 2020 by sgordon213 (110 points)
2,607 questions
2,344 answers
862,369 users