help interpreting /? help listinf of netsh

edcompsci

New member
Local time
1:46 AM
Messages
2
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 Computer My Computer

At a glance

Ubuntu Lucid Lynx 64, WIndows Vista 64 runnin...AMD64GT9500
OS
Ubuntu Lucid Lynx 64, WIndows Vista 64 running virtually on aqemu/kvm
CPU
AMD64
Motherboard
Zotac
Graphics Card(s)
GT9500
Monitor(s) Displays
HP HD
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 Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
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 Computer My Computer

At a glance

Ubuntu Lucid Lynx 64, WIndows Vista 64 runnin...AMD64GT9500
OS
Ubuntu Lucid Lynx 64, WIndows Vista 64 running virtually on aqemu/kvm
CPU
AMD64
Motherboard
Zotac
Graphics Card(s)
GT9500
Monitor(s) Displays
HP HD
Agreed, not one of the better helps in Windows.
 

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
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 Computer My Computer

At a glance

Windows 7 Ultimate x86/x64 dual bootIntel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz2GB DDR2Intel 82945G Express Chipset Family v 8.15.10...
Computer Manufacturer/Model Number
assembled locally.
OS
Windows 7 Ultimate x86/x64 dual boot
CPU
Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz
Motherboard
ASUSTeK Computer INC. Model P5G-MX
Memory
2GB DDR2
Graphics Card(s)
Intel 82945G Express Chipset Family v 8.15.10.1930
Sound Card
Realtek High Definition Audio 2.65 v6..0.1.6449
Monitor(s) Displays
LG Flatron W1943S
Screen Resolution
1360*760
Hard Drives
Seagate SATA 250 GB, Seagate IDE 40 GB
PSU
beetel ATX
Case
Intex
Cooling
?
Keyboard
zebronics K06 non-multimedia
Mouse
zebronics M05
Internet Speed
3.1 Mbps reliance broadband+ (it crowls mostly)
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 Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
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 Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Back
Top