Question : Install powershell via batch file

I need help with a batch file to install powershell.
What I would like to do is have a batch file that can check to see if you already have powershell v1.0 installed, and check to see if you have .NET Framework 2.0 installed, and install the ones they dont have from a shared location. I know how to install MSIs from bat files, but I am unsure how to go about writing the piece that checks if its already installed.

Answer : Install powershell via batch file

use this

 Like Choose([forms]![frmDemandScheduling]![Frame40],"F1","F2","*")

Random Solutions  
 
programming4us programming4us