$ 0 0 Could I suggest adding an initial check for the Powershell version as the scripts do not work with version 2?