Remote Umgebungsvariablen eines Servers abfragen
Hallo ich hab folgendes Problem ich möchte Remote die Umgebungsvariablen eines Servers abfragen und zwar so.
leider geht das so nicht, jedoch wenn ich
wie kann ich das mit den oberen befehlt mache, hier steht im Text file nur das Echo on ist, sprich es wird nur das echo als befehl erkannt. Auch wenn ich das ganze in Anführungszeichen setze geht es nicht.
Kann mir hier wer weiter helfen.
Gruss Stefan
psexec \\%SVR% cmd /C echo %DBNAME% >> \\%SAVE%\%LogSVR%
psexec \\%SVR% cmd /C set >> \\%SAVE%\%LogSVR% nehme geling die ausgabe in das Text file
Kann mir hier wer weiter helfen.
Gruss Stefan
Please also mark the comments that contributed to the solution of the article
Content-Key: 69147
Url: https://administrator.de/contentid/69147
Printed on: April 26, 2024 at 12:04 o'clock
2 Comments
Latest comment