support direct run of .ps1 file w/out batch file
patch by Josh McKenzie; reviewed by Ala' Alkhaldi for CASSANDRA-7517