Windows Commands: Configure interfaces, routing protocols, filters, routes


NETSH-Windows Command

NETSH

Configure interfaces, routing protocols, filters, routes, RRAS, .

Syntax
      NETSH [-r router name] [-a AliasFile] [-c Context] [Command | -f ScriptFile]

Key
    context may be any of:
DHCP, ip, ipx, netbeui, ras, routing, autodhcp, dnsproxy, igmp, mib, nat, ospf, relay, rip, wins. Under Windows XP the available contexts are: AAAA, DHCP, DIAG, IP, RAS, ROUTING, WINS To display a list of commands that can be used in a context, type the context name followed by a space and a ? at the netsh> command prompt. e.g. netsh> routing ? command may be any of: /exec script_file_name Load the script file and execute commands from it. /offline Set the current mode to offline. changes made in this mode are saved, but require a "commit" or "online" command to be set in the router. /online Set the current mode to online. Changes in this mode are immediately reflected in the router. /commit Commit any changes made in the offline mode to the router. /popd Pop a context from the stack. /pushd Push current context onto the stack. /set mode [mode =] online | offline Set the current mode to online or offline. /abort Discard changes made in offline mode. /add helper DLL-name Install the helper .dll file in netsh.exe. /delete helper .dll file name Remove the helper .dll file from Netsh.exe. /show alias list all defined aliases. /show helper list all top-level helpers. /show mode show the current mode. /alias List all aliases. /alias [alias_name] Display the string value of the alias. /alias [alias_name] [string1] [string2 ...] Set alias_name to the specified strings. /unalias alias_name Delete an alias. /dump - file name Dump or append configuration to a text file. /bye Exit NETSH /exit Exit NETSH /quit Exit NETSH /h Display help /help Display help /? Display help
Other Windows 98, Windows XP Commands:
addusers , arp , assoc , associate , at , attrib , browstat , cacls , call , cd , change , chkdsk , chkntfs , choice , cipher , cleanmgr , clip , cmd , color , comp , con2prt , copy , date , defrag , del , delprof , dir , diruse , diskcomp , diskcopy , doskey , dsadd , dsmod , echo , endlocal , exit , expand , expand , fc , fdisk , find , findstr , for , forfiles , format , fsutil , ftp , ftype , global , goto , help , hfnetchk , if , ifmember , ipconfig , kill , label , ldifde , local , logevent , logoff , logtime , mapisend , md , mem , mode , monitor , more , mountvol , move , moveuser , msg , msiexec , msinfo32 , mstsc , munge , mv , nbtstat , net , netdom , netsh , netstat , netsvc , now , nslookup , ntbackup , ntrights , path , pathping , pause , perms , ping , popd , portqry , print , prncnfg , prnmngr , prompt , pushd , qgrep , rasdial , rasphone , rd , rdisk , recover , reg , regedit , regsvr32 , rem , ren , replace , rmtshare , robocopy , route , runas , rundll32 , sc , schtasks , sclist , scriptit , set , setlocal , setx , share , shift , shortcut , showgrps , showmbrs , shutdown , sleep , soon , sort , start , su , subinacl , subst , tasklist , time , timeout , title , touch , tracert , type , ver , verify , vol , where , whoami , windiff , winmsd , winmsdp , wmic , xcacls , xcopy ,
Live2Support.com :
Product - Benefits - Features - How Does it Works - Pricing - SSL Certificates - Signup - Contactus - Login - Submit Resources