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

Sample scripts


Services for Unix
   Basic Information
       List the SFU Product Version , WMI

' List the SFU Product Version


On Error Resume Next

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

Set colItems = objWMIService.ExecQuery("Select * from ProductVer")

For Each objItem in colItems
    Wscript.Echo "KeyName: " & objItem.KeyName
    Wscript.Echo "Operating System Version: " & objItem.OsVersion
    Wscript.Echo "Software Type: " & objItem.SoftwareType
    Wscript.Echo
Next



VbsEdit includes all these samples!



Download version 3.4.1
Released Tuesday, January 06, 2009  -   The evaluation version never expires


Home   Buy Now   HtaEdit   Support   Video   What's new ?   Awards

Copyright (C) 2001-2009 Adersoft