[英]Python 3.6 no module named … On windows Server 2008 R2
[英]How to get cluster id using WMI on Windows Server 2008 R2?
可以使用Get-Cluster | select Id
检索集群 ID 属性Get-Cluster | select Id
在 powershell 命令中Get-Cluster | select Id
。
如何使用 WMI 获取它? 看起来 MSCluster_Cluster 没有 ID 字段。
能够自己找到集群 ID。 以防万一,如果有人在寻找相同的东西。
在注册表中找到集群 ID。 HKEY_LOCAL_MACHINE\\Cluster
键: ClusterInstanceId
您还可以使用 ROOT\\MSCluster:MSCluster_ClusterService.ElementName 通过 WMI 获取此信息。 https://docs.microsoft.com/en-us/previous-versions/windows/desktop/cluswmiext/mscluster-clusterservice
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.