You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Silex
changed the title
Unespected behavior with Get-ObjectLog
Unexpected behavior with Get-ObjectLog
Jan 24, 2022
lordmilko
added
question
Questions raised by people who don't know how to program or read the wiki :P
enhancement
Items that are on the todo list for incorporating into PrtgAPI in a future release
and removed
alleged-bug
Bugs raised by people helpfully using the Bug Report template!
question
Questions raised by people who don't know how to program or read the wiki :P
labels
Jan 24, 2022
This behavior is intentional, as when I was implementing this I found there was no way to have a parameter set that allows specifying an -Id and -Period that doesn't also cause the PowerShell engine to have issues identifying which parameter set to use when attempting to bind an -Id by itself (which should map to a parameter set with an optional -StartDate and -EndDate)
Having another look at this today, I found a potential way I may be able to resolve this, so I will mark this as a potential Enhancement for now
Describe the bug
This fails:
This works:
It's not that big of a deal but I was surprised.
What is the output of 'Get-PrtgClient -Diagnostic'?
PrtgApi
0.9.16
with latest PRTG installation.Additional context
No response
The text was updated successfully, but these errors were encountered: