I am attempting to run a command using powershell. The command is using Google Apps Manager (GAM). Whenever the command runs and is successful, Powershell reports that it has failed and Adaxes see this with an exclamation point in the web operation feedback.
Here is a sample of the portion of code I am concerned with:
Invoke-Expression -command:"C:\googleapps_manager\gam.exe update group employees@company.com remove user mr.testy106"
There is some output when the command is being run from the command line and powershell. I think this is what is throwing Adaxes off. But $LastExitCode = 0 and there are no other errors that can be determined.
Here is a sample of the output after running the command:
removing mr.testy106@company.com
Here is the error from the web interface:
https://docs.google.com/file/d/0B30Z5VM ... edit?pli=1
Does anyone know what I might be doing wrong or how to get Adaxes to accurately report an error?
[edit]
To explain more clearly the issue and not appear as though this post describes an issue with Adaxes. The issue lies with the software I am using and how it works with Powershell.