Agent state

Get agent state (Windows Computer Instance)

get-agent | where {$_.computername -eq "netbios_name"} | ft name,HealthState

main menu