The information from this blog POST has been compiled with the help of the following engineers:
There are various blogs & examples on the Internet showing how to use PowerShell in ASP.NET. A typical usage scenario consists to use Exchange PowerShell scripts from a web server application in order to manage mailboxes. An example of this can be found here : HOWTO: Using PowerShell in ASP.NET (.NET Framework 2.0). It's also possible to use PowerShell from PHP but, in this case, you have to be aware of the following caveats:
Please note that the above information applies if you are calling Powershell script from PHP on either IIS or Apache. We hope this blog will save you some research time!