Is there a way to reference a saved credential (via CredentialID, the same way SNMPv3 discovery works) instead of specifying the credentials in the script?
Method given in OrionSDK sample:
Invoke-SwisVerb $swis Orion.AgentManagement.Agent Deploy @(
$engineId,`
$agentName,`
$hostname,`
$ip,`
$machineUsername,`
$machinePassword)
What I'm thinking:
Invoke-SwisVerb $swis Orion.AgentManagement.Agent Deploy @(
$engineId,`
$agentName,`
$hostname,`
$ip,`
$credentialId)