此脚本可在所有 Windows DHCP 2012 R2 服务器上运行,并确定是否定义了故障转移关系。
Base Class | Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher |
Abstract | False |
Hosted | True |
Singleton | False |
Extension | False |
Accessibility | Public |
ElementId | bd1a0d2f-2208-944d-01bd-1f437c072fa3 |
Property Name | Type | Display Name (CHS) | Description (CHS) | Key | Max Length | Min Length | Case Sensitive |
---|---|---|---|---|---|---|---|
System.Entity: | |||||||
string | 显示名称 | 监视对象的显示名称。 | false | 256 | 0 | False | |
Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher: | |||||||
string | 名称 | true | 256 | 0 | False | ||
string | 本地服务器 | true | 256 | 0 | False | ||
string | 合作伙伴服务器 | true | 256 | 0 | False | ||
string | 作用域 ID | true | 256 | 0 | False | ||
string | 模式 | false | 256 | 0 | False | ||
string | 负载平衡百分比 | false | 256 | 0 | False | ||
string | 服务器角色 | false | 256 | 0 | False | ||
string | 保留百分比 | false | 256 | 0 | False | ||
string | 最大客户端提前期 | false | 256 | 0 | False | ||
string | 状态切换间隔 | false | 256 | 0 | False | ||
bool | 自动转换状态 | false | 1 | 0 | |||
bool | 启用授权 | false | 1 | 0 | |||
string | 操作系统当前版本 | false | 256 | 0 | False |
<ClassType ID="Microsoft.Windows.DHCPServer.2012.R2.FailoverServerWatcher" Accessibility="Public" Abstract="false" Base="DHCP2012!Microsoft.Windows.DHCPServer.2012.FailoverServerWatcher" Hosted="true" Singleton="false"/>