dhcpapi.dll中的DHCP故障转移API [英] DHCP failover API in dhcpapi.dll

查看:62
本文介绍了dhcpapi.dll中的DHCP故障转移API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



不确定选择哪个论坛。请将我的问题移到适当的位置(谢谢。)。我在这里找不到Dhcpsapi.dll复制范围API https://msdn.microsoft.com/ru-ru/library/windows/desktop/aa363379( v = vs.85)的.aspx。


但我们在PowerShell中有这个API的例子是


最好的问候,


Wendy


Hello,

Not sure what forum to choose. Please move my question to appropriate one(thanks.). I can't find in Dhcpsapi.dll replicate scope API here https://msdn.microsoft.com/ru-ru/library/windows/desktop/aa363379(v=vs.85).aspx.

But we have this API in PowerShell here is exampleopy           

Invoke-DhcpServerv4FailoverReplication –ComputerName dhcp1.contoso.com –ScopeID 10.0.10.0,10.0.20.0 -Force

解决方案

Hi [Archon],

Thank you for posting here.

I try to use "Invoke-DhcpServerv4FailoverReplication –ComputerName dhcp1.contoso.com –ScopeID 10.0.10.0,10.0.20.0 -Force" in my powershell. But it fails. What function you want to get via this DhcpServerv4FailoverReplication?

Maybe you could use DHCP Server API. It used to connect to a DHCP Server, Read Basic DHCP ConfigurationRead Basic DHCP Configuration, Show Client Leases, Show Reservations, Show Scope Options. If you want to use this API, you could install the API via Package Manager Console.


For more details and use of API, you would like to check the following link in GitHub.

https://github.com/garysharp/DhcpServerApi

Best Regards,

Wendy


这篇关于dhcpapi.dll中的DHCP故障转移API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆