Jump to content

Service Pack


Recommended Posts

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

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:  A

Try it on some of your machines and see what you get.

David Nuttall
Nuttall 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...