Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: help interpreting /? help listinf of netsh

31 Aug 2012   #1
edcompsci

Ubuntu Lucid Lynx 64, WIndows Vista 64 running virtually on aqemu/kvm
 
 
help interpreting /? help listinf of netsh

Code:
netsh [-a AliasFile] [-c Context] [-r RemoteMachine] [-u DomainName\]UserName] [-p Password : *] [Command : -f ScriptFile]

How does, say, this command:

Code:
netsh interface ipv6 show addresses
fit into the above format? For example, what is "interface", is it an Alias, Context, RemoteMachine, ..., etc.?


My System SpecsSystem Spec
.
31 Aug 2012   #2
Ztruker

Windows 10 Pro X64
 
 

It's a Command?

Usage: netsh [-a AliasFile] [-c Context] [-r RemoteMachine] [-u [DomainName\]UserName] [-p Password | *]
[Command | -f ScriptFile]

The following commands are available:

Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a list of entries.
advfirewall - Changes to the `netsh advfirewall' context.
branchcache - Changes to the `netsh branchcache' context.
bridge - Changes to the `netsh bridge' context.
delete - Deletes a configuration entry from a list of entries.
dhcpclient - Changes to the `netsh dhcpclient' context.
dnsclient - Changes to the `netsh dnsclient' context.
dump - Displays a configuration script.
exec - Runs a script file.
firewall - Changes to the `netsh firewall' context.
help - Displays a list of commands.
http - Changes to the `netsh http' context.
interface - Changes to the `netsh interface' context.
ipsec - Changes to the `netsh ipsec' context.
lan - Changes to the `netsh lan' context.
mbn - Changes to the `netsh mbn' context.
namespace - Changes to the `netsh namespace' context.
nap - Changes to the `netsh nap' context.
netio - Changes to the `netsh netio' context.
p2p - Changes to the `netsh p2p' context.
ras - Changes to the `netsh ras' context.
rpc - Changes to the `netsh rpc' context.
set - Updates configuration settings.
show - Displays information.
trace - Changes to the `netsh trace' context.
wcn - Changes to the `netsh wcn' context.
wfp - Changes to the `netsh wfp' context.
winhttp - Changes to the `netsh winhttp' context.
winsock - Changes to the `netsh winsock' context.
wlan - Changes to the `netsh wlan' context.
My System SpecsSystem Spec
01 Sep 2012   #3
edcompsci

Ubuntu Lucid Lynx 64, WIndows Vista 64 running virtually on aqemu/kvm
 
 

Ok I see.

Confusing though that there is also -c which precedes Context above, but down in the part you posted the command also refers to a context.
My System SpecsSystem Spec
.

01 Sep 2012   #4
Ztruker

Windows 10 Pro X64
 
 

Agreed, not one of the better helps in Windows.
My System SpecsSystem Spec
15 Nov 2012   #5
vsrawat

Windows 7 Ultimate x86/x64 dual boot
 
 

if my net dongle connection name is Reliance (as appearing in control panel - network,
what would be the batch file netsh command to connect to net and to disconnect from net?
My System SpecsSystem Spec
16 Nov 2012   #6
Ztruker

Windows 10 Pro X64
 
 

C:\Windows\system32>netsh interface /?

The following commands are available:

Commands in this context:
6to4 - Changes to the `netsh interface 6to4' context.
? - Displays a list of commands.
dump - Displays a configuration script.
help - Displays a list of commands.
httpstunnel - Changes to the `netsh interface httpstunnel' context.
ipv4 - Changes to the `netsh interface ipv4' context.
ipv6 - Changes to the `netsh interface ipv6' context.
isatap - Changes to the `netsh interface isatap' context.
portproxy - Changes to the `netsh interface portproxy' context.
set - Sets configuration information.
show - Displays information.
tcp - Changes to the `netsh interface tcp' context.
teredo - Changes to the `netsh interface teredo' context.

The following sub-contexts are available:
6to4 httpstunnel ipv4 ipv6 isatap portproxy tcp teredo

To view help for a command, type the command, followed by a space, and then
type ?.


C:\Windows\system32>netsh interface ipv6 /?

The following commands are available:

Commands in this context:
6to4 - Changes to the `netsh interface ipv6 6to4' context.
? - Displays a list of commands.
add - Adds a configuration entry to a table.
delete - Deletes a configuration entry from a table.
dump - Displays a configuration script.
help - Displays a list of commands.
isatap - Changes to the `netsh interface ipv6 isatap' context.
reset - Reset the IP configurations.
set - Sets configuration information.
show - Displays information.

The following sub-contexts are available:
6to4 isatap

To view help for a command, type the command, followed by a space, and then
type ?.
My System SpecsSystem Spec
17 Nov 2012   #7
Ztruker

Windows 10 Pro X64
 
 

Hmmm, why would you want to do this? I don't understand what you are trying to accomplish.

Perhaps ipconfig would be a better choice?

ipconfig /release to drop the connection.
ipconfig /renew to reestablish it.
My System SpecsSystem Spec
Reply

 help interpreting /? help listinf of netsh




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
netsh not saved after restart
Like the tititle, netsh not saving after I restart windows. This is the comand: netsh interface tcp set global congestionprovider=ctcp Somebody can help me with this? Thanks!
Network & Sharing
too many netsh.exe running at once help!
there are 36 netsh.exe running at the same time in my task manager. i have win7 ultimate 64bit (intel i3-2330m , 4gb) on my laptop. it starts with windows start-up. i cant end process this.
Performance & Maintenance
what is the windows 7 form of this netsh command?
netsh fire ad porto tcp 134 p134 ENABLE SUBNET I want to open port 134, TCP, for local subnet. it's incoming so for a server running on port 134. and only my LAN should have access.
System Security
netsh renew file not found
I have been having a problem with my comp that won't connect to the net. I did'n t have firewall but fixed that but still unidentified network error. I have dl'd fixes to restore network/internet connectivity but nothing works I think it might be winsock error. Any help would be appreciated.
Network & Sharing
Netsh firewall issue
Hi, I'm trying to add a rule for our program when installing the application. However it doesn't work for a private profile but it does work on a domain profile. Even weirder is when I delete the rule after setup and add the same rule again it does work! The rule I'm adding during setup...
System Security
Need Help with the netsh firewall add port opening
Hi All, i'm in a difficult isituation now :o. I need to change the "netsh firewall add portopening .." command to a windows 7 accepted command, so i know that the option to make is to convert it into the following command " netsh advfirewall firewall add rule name .." But my question is. in...
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:58.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App