Ask a questionAsk a question
 

QuestionIProgram2::GetNextMandatoryTime

  • Friday, October 16, 2009 1:35 PMNKeppel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am setting up a script that will display specific data with regards to Programs and Advertisements that are available to be installed on a workstation.

    I am having alot of trouble getting the IProgram2::GetNextMandatoryTime action to return any data.  I see that the next run time is displayed in the RAP but it does not appear to be stored in any readable format in the registry or WMI.  I assume from the description in the SDK for GetNextMandatoryTime that it will do what I am looking for.  I am not all that familiar with writing scripts and learning as I go, so any suggestions or examples to access this method would be very helpful.