Ask a questionAsk a question
 

AnswerSet Cluster Resource PendingTimeout via VBScript

  • Friday, September 25, 2009 9:29 PMTomlinsc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Attempting to change the PendingTimeout value for all cluster resources for Exchange2k7 on x64 Server 2003.  The PendingTimeout value will change to the correct value, but only until script execution has been completed.  Than it reverts back to previous value.

    intTimeOut = 600000
    Set colItems = objWMIService.ExecQuery("Select Name,PendingTimeout from MSCluster_Resource")
    For Each objItem in colItems
         If objItem.PendingTimeout = "180000" Then
              objItem.PendingTimeout = intTimeOut
              **CommitChange?**
         End If
    Next

    Does anyone have any insight on how to preserve the value following script completion?

Answers

All Replies