Jump to content

kalcee

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by kalcee

  1. Hello All, I have a WMI Script which gives the name and description of all the resources in a cluster server. On Error Resume Next strComputer = "ABCD" Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\MSCluster") Set colItems = objWMIService.ExecQuery("SELECT * FROM MSCluster_Resource'") For Each objItem In colItems WScript.Echo "Description: " & objItem.Description WScript.Echo "Name: " & objItem.Name Next And thus I have a list of resources with names and descriptions. Now my problem is that I have a new set of descriptions to be pushed back into the resource description field. How can I do that? If it was a normal shared folder in a local computer we can use the method 'SetShareInfo'. But I have no clue how to do this for a resource. Any help appreciated. Thank You
×
×
  • Create New...