PS Scripts

Jan 6, 2010 at 9:02 PM

Clint - Really nice to see the script being moved to PowerShell. I noticed someone recommended creating a PS module. Perhaps in conjunction with that you could break the script up into a few PS1 files. By calling them (and maybe dot-sourcing them) in the main script it should behave equivalently, and it would make it easier to read and manage. I'm going through the code now and could help if you want.

Jan 7, 2010 at 3:07 AM

Some of the functions such as GenerateMSChart could be put into their own modules, but that is the only section I can think of. Breaking it down to smaller modules is low on my priorities though right now. I'm primarily focused on finishing PAL v2.0 by migrating the existing PAL v1.x threshold files. Once I get the heavy lifting out of the way, I can focus on this aspect. In the meantime, I'm happy to answer any questions you have. Thank you for the help!