rchamberlin Posted June 3, 2004 Share Posted June 3, 2004 Anyone know what @OSServicePack will return if there isn't one installed? I.E. Windows XP but without SP1? I have about a billion machines here, and I'm not sure which ones, if any don't have SP1 on them yet. I'm doing a rollout prepping for an SUS server. Thanks for any help. Link to comment Share on other sites More sharing options...
Nutster Posted June 4, 2004 Share Posted June 4, 2004 I used the following code: Dim $msg $msg = "OS Type: " & @OSTYPE & @CRLF & "OS Version: " & @OSVersion & @CRLF & "Service Pack Version: " & @OSServicePack MsgBox(0, "OS Info", $msg) I got: OS Type: WIN32_WINDOWS OS Version: WIN_98 Service Pack Version: ATry it on some of your machines and see what you get. David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... Link to comment Share on other sites More sharing options...
bobheart Posted June 4, 2004 Share Posted June 4, 2004 I got --------------------------- OS Info --------------------------- OS Type: WIN32_NT OS Version: WIN_XP Service Pack Version: Service Pack 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now