Need to set-up system variable on remote machine. Performing
psexec \\remote_machine cmd /c setx foo bar
Success: Entered value was saved cmd exited on remote_machine with error code 0
But when new console window started on remote_machine and command
was entered, got reply
system variable foo not defined
what am I doing wrong?
Both machines running windows 7, no AD environment present