config ip and netsh firewall via command windows

netsh interface ipv4 set address “Local Area connection”
static 192.168.3.9 255.255.0.0 192.168.3.1 1

netsh interface ipv4 add dnsserver “Local Area connection” 192.168.3.10 1



netsh advfirewall set currentprofile settings remotemanagement enable
netsh advfirewall set currentprofile settings remotemanagement disable

netsh advfirewall set allprofiles state off

netsh firewall set icmpsetting 8

netsh int ip reset logfile.txt

netsh advfirewall set currentprofile settings
remotemanagement enable

netsh firewall set service remoteadmin enable

To enable disk management through remote MMC, run the following
commands on the Server Core system:
netsh advfirewall set currentprofile settings
remotemanagement enable
netsh firewall set service remoteadmin enable
netsh advfirewall firewall set rule group=”Remote
Volume Management” new enable=yes
Unable to map a drive from Server Core to another system

About Damon Luong

San Jose, California
This entry was posted in core, PowerShell. Bookmark the permalink.