Common cmd commands in windows system

Windows servers are all versions without UI now, so cmd commands are often used.

 

cmd 进入power shell
powershell

powershell 进入cmd
cmd

进入配置页面
sconfig

开启防火墙开启/关闭
netsh advfirewall set allprofiles state on/off  
   
修改密码
net user lvhaiyang 123456

 

Guess you like

Origin blog.csdn.net/wuchenlhy/article/details/103598973