It would be great if AutoSPInstaller would pass the current running version of powershell to all spawned instances. This is especially useful when trying to install SP2010 on Windows 2012.
An easy way to do this would be to simple add the following to all calls to the powershell.exe
-Version $PSVersionTable.PSVersion.ToString()
An easy way to do this would be to simple add the following to all calls to the powershell.exe
-Version $PSVersionTable.PSVersion.ToString()