Windows 10 Features Powershell, Bash Shell

Posted by

This  explains Windows-10 specific features such as Powershell, WSL and netsh.  I  use only netsh for networking related development in Windows.


PowerShell is a task-based command-line shell and scripting language built on .NET.  It is open source and available on Git Hub.

PowerShell helps users (specifically IT admins) to  automate tasks that manage operating systems (Linux, macOS, and Windows) and processes. PowerShell allows to access data such as the registry and certificate similar to file system. PowerShell includes a rich expression parser and scripting language.

It should be set by default. You may verify this by right click + Personalize . Then make sure it is enabled in Taskbar->Replace command line with Windows Powershell …   is ON

It is captured in the giff given below along with powershell and command line . If needed, zoom it using ctrl + plus

Windows Subsystem for Linux (WSL)

It is a new Windows 10 feature which provides you bash shell with capability to run only core command line tools directly on windows. Here is the FAQ.  You may enable this from settings->Apps=>Apps and Features->Programs and Features->Turns Windows Features ON or OFF

It is captured in the giff given below. If needed, zoom it using ctrl + plus


Network shell (netsh) is a command-line utility that allows you to configure and display the status of network. You may start it from command line and check it’s features using help command.


The following commands are available:

Commands in this context:
.. – Goes up one context level.
? – Displays a list of commands.
abort – Discards changes made while in offline mode.
add – Adds a configuration entry to a list of entries.
advfirewall – Changes to the `netsh advfirewall’ context.
alias – Adds an alias.
bridge – Changes to the `netsh bridge’ context.
bye – Exits the program.
commit – Commits changes made while in offline mode.
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.
exit – Exits the program.
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.
netio – Changes to the `netsh netio’ context.
offline – Sets the current mode to offline.
online – Sets the current mode to online.
p2p – Changes to the `netsh p2p’ context.
popd – Pops a context from the stack.
pushd – Pushes current context on stack.
quit – Exits the program.
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.
unalias – Deletes an alias.
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.

The following sub-contexts are available:
advfirewall bridge dhcpclient dnsclient firewall http interface ipsec lan mbn namespace netio p2p ras rpc trace wcn wfp winhttp winsock wlan

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



Please SUBSCRIBE to YouTube channel Embedkari  for additional embedded related stuff.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.