APIs: GET ManagedSystems or GET ManagedSystems/{id}
Parameters
- SystemName (optional): Managed system name (must be used with AccountName).
- AccountName (optional): Managed account name (must be used with SystemName).
- WorkgroupName (optional): Workgroup name.
- Type (optional): Type of managed accounts to return.
- System: Returns local accounts.
- Domainlinked: Returns domain accounts linked to systems.
- Database: Returns database accounts.
- Cloud: Returns cloud system accounts.
- Application: Returns application accounts.
Examples
psrun2 -separator "," -filter "SystemId,SystemName,AccountId,AccountName" $(cat conn) ListAccounts TestSystemName TestAccountName "BeyondTrust Workgroup"
psrun2 $(cat conn) ListAccounts
psrun2 $(cat conn) ListAccounts database
