Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have to perform various task such as restarting process, monitor process state check disk space, log monitoring on Window server 2003 machine. For this i am using remote desktop access which is very slow. Is there any alternate (Tool or Framework) for windows server where i can execute my script on my machine and the required task will be performed on the remote machine in somewhat interactive manner (like putty in linux)

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

There are a number of ways you can do this. My preferred method is to use psexec.

share|improve this answer
    
+1 for PSexec. Either Powershell or PSexec can be used to "execute a script... and the required task will be performed on the remote machine..." But neither one is truly analagous to telnet/ssh in the unix world. To fully administer a Windows box, you need the gui sooner or later. –  Bob Sep 6 '12 at 16:18
    
Indeed PsExec is a grat tool. We can get the command prompt instance of remote machine by "psexec -u userid -p password cmd.exe". Thanks a lot for ur reply –  Vaibhav Jain Sep 10 '12 at 11:31
add comment

I'd use wmic or install PowerShell (preferred). Neither of these (nor psexec) are really interactive, though. What do you need this to be interactive for?

share|improve this answer
    
By interactive i just mean i should be able to see progress of my task on remote machine, if the task fail than fail log should be displayed, if any batch file is executed should be able to enter input to it. –  Vaibhav Jain Sep 6 '12 at 19:29
    
You can't enter input with PsExec, although it will return the output. When using wmic the script will run locally and wmic will connect to the remote host, so your script can prompt for input. With PowerShell it depends. –  Ansgar Wiechers Sep 6 '12 at 19:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.