Yeah, it's hacky...
This morning I was working on some Exchange 2010 stuff and I felt the need to monitor the latency of the mailflow on one of my servers. Not really wanting to do anything fancy, I opened up the Exchange Management Shell and wrote this code:
while ($true) {
Clear-Host
test-mailflow
start-sleep -s 10
}
This gave me a nice little window that ran the test-mailflow cmdlet every 10 seconds and didn't clutter things up. I'm sure there is a more elegant way of doing this, but I didn't really know how to go about it! Tomorrow the plan is to put this up there with a shorter interval while I'm hammering on some of the other VMs in the environment to see what I can do with the latency in my little lab (:


Comments 0 Comments