Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Cluster Service InformationContent of List Cluster Service Information.vbsMD5 Hash: 5902580E8934CAA4083C2C5F71101F2E |
||
' Description: Returns information about the cluster service on a computer.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\mscluster") Set colItems = objWMIService.ExecQuery("Select * from MSCluster_Service") For Each objItem in colItems Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "Description: " & objItem.Description Wscript.Echo "Enable event log replication: " & _ objItem.EnableEventLogReplication Wscript.Echo "Installation date: " & objItem.InstallDate Wscript.Echo "Name: " & objItem.Name Wscript.Echo "Node highest version: " & objItem.NodeHighestVersion Wscript.Echo "Node lowest version: " & objItem.NodeLowestVersion Wscript.Echo "Started: " & objItem.Started Wscript.Echo "Start mode: " & objItem.StartMode Wscript.Echo "State: " & objItem.State Wscript.Echo "Status: " & objItem.Status Wscript.Echo "System name: " & objItem.SystemName Wscript.Echo Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |