Hello,
Does anyone know how to use the API to initiate an update of the Orion Agent? It looks like I need to provide 'SolarWinds.AgentManagement.Contract.Models.AgentRecord' data plus a boolean (I assume true/false), but I'm not sure how to construct the AgentRecord.
I'm trying to do it via PowerShell, i.e.:
$agent = #details from 'SolarWinds.AgentManagement.Contract.Models.AgentRecord' $updateRemoteSettings = $true Invoke-SwisVerb -SwisConnection $swis -EntityName Orion.AgentManagement.Agent -Verb UpdateAgent -Arguments @($agent, $updateRemoteSettings)
It looks like I need to add a LOT of data to that xml string. Is there a better way?
(sorry for code context, PowerShell not an option in code block)