Skip to content

Can I use New-ChartEvent to filter timestamp values older than XX number of days? #460

Answered by PrzemyslawKlys
MeckenS asked this question in Q&A
Discussion options

You must be logged in to vote

So the way I do it, for my WSUS module but generally for when dealing with dates I create additional property which is translation to Days

Once you have Days value which is 0 to X, you can easily create a count based on that value More then, Between and so on. While I didn't create charts yet for time for my own WSUS module, it shouldn't be too hard :-)

Hope it helps?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MeckenS
Comment options

@PrzemyslawKlys
Comment options

Answer selected by MeckenS
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