BUG - Powershell/PSExec - Missing Information outside ISE
Im affected of this Bug in Powershell/PSExec

http://stackoverflow.com/questions/22593651/powershell-psexec-job

Executing powershell script and execute for example ping/tracert/iperf
via psexec on remote-hosts is working very well. 

In ISE I see all the Information I expect. But Im the interesting information is missing outside ISE.

For example in ISE:

#####################################
PS C:\Scripts> .\tracert.ps1 -ComputerName REMOTEHOST -target TARGETHOST
PsExec v2.1 - Execute processes remotely
Copyright (C) 2001-2013 Mark Russinovich
Sysinternals - www.sysinternals.com

Starting tracert.exe on REMOTEHOST...REMOTEHOST...
tracert.exe exited on REMOTEHOST with error code 0.
From REMOTEHOST to TARGETHOST <br>
Routenverfolgung zu TARGETHOST [200.100.100.1]  ber maximal 30 Abschnitte:
  1    74 ms    <1 ms    <1 ms  100.100.100.5
  2    <1 ms    <1 ms    <1 ms  Router1 [120.12.245.101]
  3     1 ms    <1 ms    <1 ms  Router2 [130.12.246.101]
  4     1 ms    <1 ms    <1 ms  Router3 [150.12.247.101]
  5     1 ms    <1 ms    <1 ms  TARGETHOST  [200.100.100.1]
Ablaufverfolgung beendet.
#####################################


Fine? NO!!!

Write to File, Print,execute the Script via IIS/PHP everything fails!
Only this Information outside ISE:

#####################################
C:\scripts\tracert.ps1 -ComputerName REMOTEHOST  -target TARGETHOST
From REMOTEHOST  to TARGETHOST

Routenverfolgung zu TARGETHOST [200.100.100.1]  ber maximal 30 Abschnitte:

#####################################

PLS HELP!!!
Invoke-Command cannot be used here
April 11th, 2014 2:57am

Can you share your tracert.ps1 script code?
Free Windows Admin Tool Kit Click here and download it now
April 11th, 2014 9:22am

Im affected of this Bug in Powershell/PSExec

http://stackoverflow.com/questions/22593651/powershell-psexec-job

Executing powershell script and execute for example ping/tracert/iperf
via psexec on remote-hosts is working very well. 

In ISE I see all the Information I expect. But Im the interesting information is missing outside ISE.

For example in ISE:

#####################################
PS C:\Scripts> .\tracert.ps1 -ComputerName REMOTEHOST -target TARGETHOST
PsExec v2.1 - Execute processes remotely
Copyright (C) 2001-2013 Mark Russinovich
Sysinternals - www.sysinternals.com

Starting tracert.exe on REMOTEHOST...REMOTEHOST...
tracert.exe exited on REMOTEHOST with error code 0.
From REMOTEHOST to TARGETHOST <br>
Routenverfolgung zu TARGETHOST [200.100.100.1]  ber maximal 30 Abschnitte:
  1    74 ms    <1 ms    <1 ms  100.100.100.5
  2    <1 ms    <1 ms    <1 ms  Router1 [120.12.245.101]
  3     1 ms    <1 ms    <1 ms  Router2 [130.12.246.101]
  4     1 ms    <1 ms    <1 ms  Router3 [150.12.247.101]
  5     1 ms    <1 ms    <1 ms  TARGETHOST  [200.100.100.1]
Ablaufverfolgung beendet.
#####################################


Fine? NO!!!

Write to File, Print,execute the Script via IIS/PHP everything fails!
Only this Information outside ISE:

#####################################
C:\scripts\tracert.ps1 -ComputerName REMOTEHOST  -target TARGETHOST
From REMOTEHOST  to TARGETHOST 

Routenverfolgung zu TARGETHOST [200.100.100.1]  ber maximal 30 Abschnitte:

#####################################

PLS HELP!!!
Invoke-Command cannot be used here

April 11th, 2014 9:36am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics