This requires SP4 to function on NT4. If you haven't kept that up to date, then you have larger issues... Dim CimV2 Dim OS Dim Version Const NT4 = "4.0" 'may have to edit this - I don't remember the build number for NT4. Const W2K = "5.0.2195" Const WXP = "5.1.2600" Const W2K3 = "5.2.3790" Set CimV2 = GetObject( "winmgmts:\\servername\root\cimv2" ) For Each OS in CimV2.ExecQuery( "select Version from Win32_OperatingSystem" ) Version = OS.Version Wscript.Echo "This Operating System reports version " & Version Select Case Version Case NT4 'do the NT job Case W2K 'do the W2K job Case WXP 'do the WXP job Case W2K3 'do the W2K3 job End Select Next Jim Harrison MCP(NT4, W2K), A+, Network+, PCG http://www.microsoft.com/isaserver http://isaserver.org/Jim_Harrison http://isatools.org Read the help, books and articles! ----- Original Message ----- From: "Accioly, Daniel" <daniel.accioly@xxxxxxxxxxxxx> To: "[ISAserver.org Discussion List]" <isalist@xxxxxxxxxxxxx> Sent: Tuesday, August 12, 2003 13:08 Subject: [isalist] Re: MSBLAST worm and the firewall client http://www.ISAserver.org Hi guys, Sorry to as this out of topic question, but I'm in the middle of a Blaster infetion here... I have to deploy a workstation installation that's different depending on each OS I have on the network. For example, I have to run file A for Windows NT4, file B for 2k and file C for XP. Does anybody has any script argument that can diferentiate these OSs? Thanks Daniel ------------------------------------------------------ List Archives: http://www.webelists.com/cgi/lyris.pl?enter=isalist ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp ISA Server FAQ: http://www.isaserver.org/pages/larticle.asp?type=FAQ ------------------------------------------------------ Other Internet Software Marketing Sites: Leading Network Software Directory: http://www.serverfiles.com No.1 Exchange Server Resource Site: http://www.msexchange.org Windows Security Resource Site: http://www.windowsecurity.com/ Network Security Library: http://www.secinf.net/ Windows 2000/NT Fax Solutions: http://www.ntfaxfaq.com ------------------------------------------------------ You are currently subscribed to this ISAserver.org Discussion List as: jim@xxxxxxxxxxxx To unsubscribe send a blank email to $subst('Email.Unsub')