• Netsh is a command-line scripting utility that allows you to, either locally or remotely, display or modify the network configuration of a computer that is currently running. Netsh also provides a scripting feature that allows you to run a group of commands in batch mode against a specified computer. Netsh can also save a configuration script in a text file for archival purposes or to help you configure other servers.
  • Many services use networking commands that begin with the word net.

  • IISReset can be used to start/stop IIS services.
  • (win xp pro) To list the running processes use tasklist; to kill a process, use tskill.

 

netsh

????: netsh [-a AliasFile] [-c Context] [-r RemoteMachine]                             [Command | -f ScriptFile]

???????????

? - ???????
add - ?????????????
bridge - ??? `netsh bridge' ???
delete
- ?????????????
diag
- ??? `netsh diag' ???
dump
- ????????
exec
- ??????
firewall 
- ??? `netsh firewall' ???
help
- ???????
interface
- ??? `netsh interface' ???
ras
- ??? `netsh ras' ???
routing
- ??? `netsh routing' ???
set
- ???????
show
- ?????
winsock
- ??? `netsh winsock' ???

net

Net accounts / Net computer / Net config / Net continue / Net file /
Net group / Net help / Net helpmsg / Net localgroup / Net name /
Net pause / Net print / Net send / Net session / Net share / Net start /
Net statistics / Net stop / Net time / Net use / Net user / Net view


 

IISReset

????: iisreset [????]

/RESTART
????????? Internet ???
/START
????? Internet ???
/STOP 
????? Internet ???
/REBOOT
?????
/REBOOTONERROR
?????????????? Internet ?????????????
/NOFORCE
?????? Internet ???????????Internet ???
/TIMEOUT:val 
??????? (?) ???Internet ????????????? /REBOOTONERROR ????????????????????: 20 ???????60 ?????? 0 ???????
/STATUS
???? Internet ??????
/ENABLE
?? Internet ???????(?????)?
/DISABLE
?? Internet ???????(?????)?