• Needs one fix for issue with 2000 in powershell section

    change

    select TOP(1) line as PSVER from #output

    to

    select Line as PSVER from #output where line is not null