Linkedin has a feature that allows users to enter their outlook credentials and imports their outlook contacts. I am trying to emulate this functionality, in a php application. So far, the only way I have discovered on how this might be done is through Exchange web Services. https://emailhost/EWS/Services.wsdl I am using the php-ews library to try and connect to ews.
Tag: exchange-server
executing a Powershell script from php
I’m trying to execute a powershell script from PHP, but it does not seem to work. The script ‘newEvent.ps1’ creates an event on the Exchange server. It outputs: If I run powershell.exe C:wampwwwantassetspsnewEvent.ps1 on the command-line, it works fine. This is the first time im attempting something like this. I ran Set-ExecutionPolicy RemoteSigned -Scope LocalMachine but it still gives me