windows – netsh dhcp绑定命令无法在Server 2016上运行?
我有一个奇怪的问题.
我正在将Server 2008 R2迁移到Server 2016. 我们有一个DHCP服务器角色,它为两个范围提供服务.设置时,会运行一行: netsh dhcp server computername set bindings "ethernet1" enable 在Server 2016上,我得到:
在Server 2008 R2上,相同的命令成功运行. 我不认为我的DHCP服务器设置不正确,因为如果我进入cmd提示符,键入netsh dhcp服务器,它将我放入netsh,然后键入set bindings“ethernet1”enable,它可以工作.所以它让我认为它是不喜欢的服务器名称,但netsh dhcp show server显示: 目录服务中找到2台服务器: Server [computername.domain.com] Address [xxxxxxxxxxxx] Server [computername.domain.com] Address [yyyyyyyyyyyy] 知道我错了吗?我找不到任何方法从netsh获取更多有用的信息.
微软多年来一直在弃用NETSH cmd.我很惊讶它在Server 2016中仍然存在.您是否尝试过使用Powershell cmdLets?
Set-DhcpServerv4Binding -BindingState $True -InterfaceAlias "Wired Ethernet Connection" > https://technet.microsoft.com/en-us/itpro/powershell/windows/dhcpserver/dhcpserver (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- windows – 有没有办法在PowerShell中从头开始创建ACL,而不
- batch-file – 用于循环的DOS批处理文件中的变量赋值问题
- 各个版本Microsoft Visual C++运行库下载
- windows-server-2003 – 远程关闭共享文件夹会话
- windows – linuXploit_crew点击了我的网络服务器
- 让CMake在Windows上找到flex
- Windows – 包含Visual C运行时与应用程序
- windows-server-2008 – 使用PowerShell在Windows Server 2
- laravel homestead共享文件夹的主机路径在Windows 7上丢失错
- 在Windows中使用C#配置扬声器设置有哪些API?