【记录】常用CMD命令

强制刷新组策略

gpupdate /force

远程重启服务器

登录:

net use \10.1.1.17\ipc$ “password” /user:“username

重启:

shutdown -r -m \10.1.1.17 -t 0 –f

IP&MAC绑定

查看IDX

netsh i i show in

IPMAC绑定

netsh –c “i i” add neighbors 11 “IDX” “网关IP” “Mac地址”

删除绑定

netsh -c “i i” delete neighbors IDX(IDX改为相应的数字)

猜你喜欢

转载自blog.csdn.net/ZebraChroma/article/details/85043577