Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-PrtgObject #2

Open
sandersjds opened this issue Feb 16, 2014 · 0 comments
Open

Get-PrtgObject #2

sandersjds opened this issue Feb 16, 2014 · 0 comments
Assignees

Comments

@sandersjds
Copy link
Collaborator

There's no way in the API that I can find that you can directly say, "give me this singleton object and all of it's properties".

However, using the sensortree option in table.xml (which is what get-prtgtabledata hits) should allow you to select an object by ID. This will require a bit of parsing (determine what the object is, assign all the properties, and then determine what to do with the children properties), but should allow of selecting single objects.

@sandersjds sandersjds self-assigned this Feb 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant