Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Cluster  Node  Information  

 Content of List Cluster Node Information.vbs
MD5 Hash: 4CD1DF7264FE27267CC0F5BE95D46BD2
' Description: Returns information about all the cluster nodes found on a computer.


On Error Resume Next

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

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

For Each objItem in colItems
Wscript.Echo "Build number: " & objItem.BuildNumber
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "Characteristics: " & objItem.Characteristics
Wscript.Echo "CSD version: " & objItem.CSDVersion
Wscript.Echo "Dedicated: " & objItem.Dedicated
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "Enable event log replication: " & _
objItem.EnableEventLogReplication
Wscript.Echo "Flags: " & objItem.Flags
Wscript.Echo "Identifying descriptions: " & objItem.IdentifyingDescriptions
Wscript.Echo "Initial load info: " & objItem.InitialLoadInfo
Wscript.Echo "Installation date: " & objItem.InstallDate
Wscript.Echo "Last load info: " & objItem.LastLoadInfo
Wscript.Echo "Major version: " & objItem.MajorVersion
Wscript.Echo "Minor version: " & objItem.MinorVersion
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Name format: " & objItem.NameFormat
Wscript.Echo "Node highest version: " & objItem.NodeHighestVersion
Wscript.Echo "Node lowest version: " & objItem.NodeLowestVersion
Wscript.Echo "Other identifying info: " & objItem.OtherIdentifyingInfo
Wscript.Echo "Power state: " & objItem.PowerState
Wscript.Echo "Primary owner contact: " & objItem.PrimaryOwnerContact
Wscript.Echo "Primary owner name: " & objItem.PrimaryOwnerName
Wscript.Echo "Reset capability: " & objItem.ResetCapability
Wscript.Echo "Roles: " & objItem.Roles
Wscript.Echo "State: " & objItem.State
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a