Question: NETSH is a Windows CLI command that is uber powerful but is little known. Powershell also has modules that will do everything that the netsh
NETSH is a Windows CLI command that is uber powerful but is little known. Powershell also has modules that will do everything that the netsh utility.
Do internet searches and write down a description of what the following NETSH commands do, then find the/a corresponding PowerShell command:
netsh help
netsh int sho int
netsh interface ip show address
netsh int ip reset all
netsh int ip show config
netsh advfirewall firewall show rule name=all
netsh advfirewall set currentprofile state off
netsh advfirewall firewall add rule name=SQL Server dir=in action=allow protocol=tCP localport=1434
netsh advfirewall firewall delete rule name=rule name program="C:\MyApp\MyApp.exe
netsh advfirewall set currentprofile logging filename "C:\temp\pfirewall.log"
netsh advfirewall firewall set rule group="remote administration" new enable=yes
netsh advfirewall export c:\temp\FWconfig.wfw
netsh wlan sh int
netsh wlan connect ssid=mySSID name=WLAN-Profil1
netsh int ip set dns Local Area Connection 192.168.0.3
netsh int ip set dns Local Area Connection dhcp
netsh interface ip set address "Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.254 1
netsh int dump >netcfg.dat
netsh exec netcfg.dat
netsh int ipv6 show int
netsh int ipv6 sh int Ethernet0 (or Local Area Connection based on label)
netsh interface ipv6 add address "Ethernet0" 2001:ce:dba::1d
netsh interface ipv6 add route ::/0 "Ethernet0" fe80::2aa:ff:fe9a:21b8
netsh int ipv6 show addresses
netsh int ipv6 set int Ethernet0 advertise=enabled
netsh interface ipv6 add route fdcc:7c4e:3651:1:::/64 "Ethernet0" publish=yes
netsh interface ipv6 set interface "Ethernet0" forwarding=enabled
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
