We will be writing some scripts to create Groups through the API and would like to base the members of those Groups on Dynamic Query results like you can do through the web interface.
I did take a look at Groups.ps1 but it does not provide any examples for using a Dynamic Query.
I see in the database where individual members of a Group are stored in Orion.ContainerMemberSnapshots even when I Dynamic Query is used. I did not find where the actual Dynamic Query is stored in the database.
Can anyone help me with the following:
- Where is DQ stored in the Orion database?
- What API command(s) can be used to add a DQ to a Group?
TIA