Closed Thread Icon

Topic awaiting preservation: SSH / IIS Pages that link to <a href="https://ozoneasylum.com/backlink?for=30537" title="Pages that link to Topic awaiting preservation: SSH / IIS" rel="nofollow" >Topic awaiting preservation: SSH / IIS\

 
Author Thread
Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 09-09-2008 17:57

This isn't really a scripting question but I figured this would be about the best place to post it. I would like to be able to do an IISRESET through SSH. What is the command to do it? I have cygwin/openssh running on a windows 2K3 server.

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 09-09-2008 23:00

isn't it just iisreset /RESTART ?

Later,

C:\

Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 09-09-2008 23:41

on an ordinary command line yes that would work but through SSH you get "bash: iisreset: command not found"

Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 09-09-2008 23:58

FYI this is how you start and stop IIS through cygwin/openSSH:

cygrunsrv --start w3svc
cygrunsrv --stop w3svc

(Edited by Boudga on 09-09-2008 23:59)

« BackwardsOnwards »

Show Forum Drop Down Menu