Quantcast
Channel: Office 2013 and Office 365 ProPlus - Planning, Deployment, and Compatibility forum
Viewing all articles
Browse latest Browse all 3748

Run script on specific windows version

$
0
0

Hi everyone, I wonder if it is possible to write an powershellscript that first checks which osversion (windows) that is installed on a computer and if osversion meets a criteria it should start an msifileinstallation.

Example to clearify:

1. check if osversion is windows:xp/7/8/10

2. if osversion is windows xp then run installation1.vbs

3. if osversion is windows 7 then run installation2.vbs

3. if osversion is windows 8 then run installation3.vbs

4. if osversion is windows 10 then run installation4.vbs


Viewing all articles
Browse latest Browse all 3748

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>