Hyper-V: Check VM Heartbeat: Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Get all VMs with bad Heartbeat == <source lang="powershell" hyper-v\get-vm -computername (Get-ClusterNode -Cluster <CLUSTER_NAME>).name | ? State -ne "Off"…“) |
Admin (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
== Get all VMs with bad Heartbeat == | == Get all VMs with bad Heartbeat == | ||
− | <source lang="powershell" | + | <source lang="powershell"> |
hyper-v\get-vm -computername (Get-ClusterNode -Cluster <CLUSTER_NAME>).name | ? State -ne "Off" | Get-VMIntegrationService -Name heartbeat* | ? PrimaryStatusDescription -ne "OK" | hyper-v\get-vm -computername (Get-ClusterNode -Cluster <CLUSTER_NAME>).name | ? State -ne "Off" | Get-VMIntegrationService -Name heartbeat* | ? PrimaryStatusDescription -ne "OK" | ||
</source> | </source> |
Aktuelle Version vom 25. Januar 2022, 12:42 Uhr
Get all VMs with bad Heartbeat
hyper-v\get-vm -computername (Get-ClusterNode -Cluster <CLUSTER_NAME>).name | ? State -ne "Off" | Get-VMIntegrationService -Name heartbeat* | ? PrimaryStatusDescription -ne "OK"