Hello,
I am using below code but its not working can you please tell me whats wrong In this
scripting.Prompt = "$ ";
scripting.Timeout = 10000;
scripting.SendCommand("ls -ltr");
string response = scripting.ReadUntil(ScriptEvent.Prompt);
Otherwise give me sample code to execute my command on server.