COGNOiSe.com - The IBM Cognos Community

IBM Cognos Express => IBM Cognos Express => Topic started by: dmusson17 on 19 Feb 2014 03:31:36 PM

Title: Firing trigger from remote server
Post by: dmusson17 on 19 Feb 2014 03:31:36 PM
I'd like to execute a trigger from a remote server and am running into issues.  Both are Windows servers and I've tried using powershell on the remote server:

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command Invoke-Command -ComputerName servername -ScriptBlock { invoke-item "trigger file location on cognos server.bat"}

and this approach from the IBM docs:

http://pic.dhe.ibm.com/infocenter/cx/v10r2m1/index.jsp

both to no avail.  I can run the trigger batch file on the Cognos server manually with no issues, and have created a test batch file to test permission and folder acces that i can run remotely using the powershell.

Does anyone have any pointer/advice/guidance on this?