VBScript to Initiate the software updates cycle


    ' Set the required variables.
    actionNameToRun = "Software Updates Assignments Evaluation Cycle"     ' Create a CPAppletMgr instance.
    Dim oCPAppletMgr
    Set oCPAppletMgr = CreateObject("CPApplet.CPAppletMgr")     ' Get the available ClientActions object.
    Dim oClientActions
    Set oClientActions = oCPAppletMgr.GetClientActions()

    ' Loop through the available client actions. Run the matching client action when it is found.
    Dim oClientAction
    For Each oClientAction In oClientActions
        If oClientAction.Name = actionNameToRun Then
        End If

Leave a Reply

Your email address will not be published. Required fields are marked *