When I first setup Exchange I cobbled together this Powershell command to upload pictures of the employees to display in outlook. It runs fine when I am logged into the server and open the EMS, paste in and adjust the two paramters (user name, pic file name)
Import-RecipientDataProperty -Identity username -Picture -FileData ([Byte[]]$(Get-Content -path "\\scfiles\Outlook Pictures\user.name.jpg" -Encoding Byte -ReadCount 0))
Now I am looking for a way to remotely do this by right clicking the exchange server from my Server Manager on my Win 8.1 machine and choosing Windows PowerShell do this same script but always run into errors.
I've tried more things than I can relay in here. The last set of commands I thought I was getting closer but still not working. Does anyone know how to achieve this, I am most certain it is possible to not have to RDP into one of my exchange server to just update/add a picture.
Last try I though would work :/