Good question -- if this was added to all of the calls that spawn powershell, then it would be just a matter of passing in the needed value in the batch file (there could be a parameter for it). Then once the main powershell process is spawned, all subsequent versions would use the same version (whatever version that might be)
↧