VbsEdit, the award-winning VBScript editor that dramatically reduces the time you spend writing .VBS scripts

Sample scripts


Service Packs and Hot Fixes
    List the Latest Installed Service Pack , WMI

' List the Latest Installed Service Pack


strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colOperatingSystems = objWMIService.ExecQuery _
    ("Select * from Win32_OperatingSystem")

For Each objOperatingSystem in colOperatingSystems
    Wscript.Echo objOperatingSystem.ServicePackMajorVersion  _
        & "." & objOperatingSystem.ServicePackMinorVersion
Next



VbsEdit includes all these samples!



Download version 3.4.1
Released Tuesday, November 18, 2008  -   The evaluation version never expires


Home   Buy Now   Support   Video   What's new ?   Awards

Copyright (C) 2001-2008 Adersoft