Sto usando psexec per eseguire un exe su un server. Il comando gira bene, ma non c'è uscita sulla mia console locale.Utilizzo di PSEXEC non restituisce output dall'attività remota
Questo è il comando che sto usando:
psexec.exe \\my-machine ping localhost
che si traduce in:
PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com
ping exited with error code 0.
se provo a eseguire questo localy tuttavia, funziona benissimo
psexec.exe \\localhost ping localhost
PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com
Pinging my-machine.mydomain.com [1.1.1.1] with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time=2ms TTL=128
Reply from 1.1.1.1: bytes=32 time<1ms TTL=128
Reply from 1.1.1.1: bytes=32 time<1ms TTL=128
Reply from 1.1.1.1: bytes=32 time<1ms TTL=128
Ping statistics for 1.1.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 2ms, Average = 0ms
ping exited on localhost with error code 0.
non funziona per me. Ho provato entrambi con fqn e senza. C'è qualche altro strumento diverso da psexec.exe – Maverick
Funziona per me in entrambi i casi. – aphoria
5 anni su Credo che le cose cambino, anche se si penserebbe che MS manterrebbe la compatibilità con le versioni precedenti :-) –