gavsto/AutomateAPI

Add reverse search (find agents in Control and not in Automate)

Closed this issue · 2 comments

Add reverse search (find agents in Control and not in Automate)

Is this being worked on?

This is now supported, by running the following commands:

$AllSessions=Get-AutomateComputer | Compare-AutomateControlStatus -AllResults -Force
$MissingSessions=$AllSessions | Where-Object {$_.ComputerID -eq 0}

-Force will test all control sessions (not only the ones provided by Get-AutomateComputer)
-AllResults will return all records processed, not just ones that are offline in Automate and online in Control.