The current script (and starting batch file) launch the default version of powershell -- this is always to newest version. The issue is SharePoint 2010 powershell scriptlets do not run under PS3. It would be great if there was a way to tell AutoSPInstaller to always use a specific version.
Note: I have a POC of this if you are interested.
Note: I have a POC of this if you are interested.