lixuebin

"Win+R"调出"运行",再调出CMD

设置静态ip:

netsh interface ip set addr "本地连接" static 192.168.0.1 255.255.255.0 192.168.0.254 1

netsh interface ip set dns "本地连接" static 202.103.24.68

netsh interface ip add dns "本地连接" 8.8.8.8      #手动设置多个dns


设置动态ip:

netsh interface ip set addr "本地连接" dhcp

netsh interface ip set dns "本地连接" dhcp


修改主机名:

powershell

netdom renamecomputer "当前主机名" /newname:"新主机名"


加域:

powershell

add-computer -domain "域名" -cred "域名\授权用户" -passthru


退域:

remove-computer -credential "域名\授权用户" -passthru -verbose; restart-computer



帮助:

get-help add-computer -example

分类:

技术点:

相关文章:

  • 2021-07-13
  • 2021-08-18
  • 2021-11-21
  • 2021-04-08
  • 2021-09-27
  • 2022-02-06
  • 2021-12-02
猜你喜欢
  • 2021-08-07
  • 2021-11-08
  • 2021-04-20
  • 2021-11-20
  • 2021-09-02
  • 2022-01-03
  • 2021-10-10
相关资源
相似解决方案