Scheduling Powershell Component Monitors

Version 1

    ..well, kind of scheduling a component.

    We have several monitors that only need to run once a day and at a certain time. I'm not a huge fan of the Unmanage Utility so I use the attached method.

    It lets me pass in the times when I want to monitor and will then only alert during that time period. The test runs all the time but doesn't do anything outside of the monitor window.

    I added a couple functions for first working day of the month and Bank holidays in case the script doesn't need to alert on those days.