Running exe from Powershell

rated by 0 users
Not Answered This post has 0 verified answers | 0 Replies | 1 Follower

Top 200 Contributor
23 Posts
DocGoo posted on 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!!!!!!


All Replies

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