Skip to content

Get-PrtgObject #2

@sandersjds

Description

@sandersjds

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions