This past Tuesday, I presented a session for the Arizona PowerShell Users Group on “Making the Leap from PowerShell One-Liners and Scripts to Advanced Functions and Script Modules”.
The video from that presentation is now available:
The presentation materials including the code and a PDF copy of the slide deck can be downloaded from here.
µ
MAC address validation — http://stackoverflow.com/questions/4260467/what-is-a-regular-expression-for-a-mac-address
Regular expression — ^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$
Thoughts on the PROCESS {} and END {} way of handling “cleanup” logic (in the END {}) versus using try..finally? (I normally use try..finally for cleanup handling so curious what benefit to END {} ).