Skip to content

Possible to find TPP objects that don't have an association #108

Closed Answered by gdbarron
bmartin271 asked this question in Q&A
Discussion options

You must be logged in to vote

For applications I would use Find-TppObject -Attribute 'Certificate' -Pattern ''. This will return all items which have a certificate attribute with no value. This might return objects other than applications so you'll just need to filter those out. You'll need v4.2.4 for this.

For devices I'd get all devices with Find-TppObject -Class 'Device', loop through each and run Find-TppObject -Path <devicepath>. If the path search does not return any items, there are no associated applications.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gdbarron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants