Running exe from Powershell

rated by 0 users
This post has 0 Replies | 1 Follower

Top 150 Contributor
Posts 23
DocGoo Posted: 12-21-2012 10:52 AM

I have a exe job I want to run from PS. I seem to be able to start it but it does not achomplish what the exe is supposed to do. It is ws_ftp. Anyway if I paste the same command in a dos cmd window it works fine. Viewing the jobs in PS shows a completed but no further data. The PS eventlog on the server shows a 403 information posting along with others. I do not seem to be able to get further information.

Invoke-Command -ScriptBlock {$args} -JobName Bob -ComputerName localhost

This command shows the job as failed.

Start-Job -ScriptBlock {$args} -name bob

The job shows completed.

Neither does the ftp, unless run from cmd line.

Anyone else have this issue?

What can I do to check on what exactly is happings when this exe is called?

Any suggestions or help is greatly appreciated!!!!!!

--Goo

Page 1 of 1 (1 items) | RSS
Copyright 2012 PowerShell.com. All rights reserved.