I wrote a demo awhile back which I shared with a few people, but never really published, except in video form.
I figured it’s past time to share the actual script. It’s written using PowerBoots, and I actually wrote a version of it for PowerShell 1.0 and another for PowerShell 2.0 to show how much cleaner the syntax can be once you have the generated functions which currently only work in PowerShell 2.0 …
I’d comment here, and point out the ugliness of the version 1 script by comparison, but really what I want you to catch is the fact that you can pop out a window, continue using your PowerShell host, and still do more things to it, like adding additional hosts to our ping time monitor. Point being: the script is just a demo of things that can be done — not an example of how you should write code, nor a great working monitor (it’s far too large on the screen to leave running all the time, in my opinion
).
This is great stuff! Using your scripts as an example, I’m able to use Powerboots with Powershell V1, to create Visifire charts. One small edit, your V1 script has a call to GetNewClosure which I believe is only in V2.