Reset LastRun Date On Global Task
Description
Section titled “Description”Resets the last run date on a global task
Syntax
Section titled “Syntax”ResetLastRunOnGlobalTask(ByVal taskDisplayName As String) As Boolean
Parameters
Section titled “Parameters”TaskDisplayName (String)
- Auto Archive Changelog
- Cleanup Performance Index Data
- Clear Changeset
- Clear Deleted Units
- Group Health Check
- Inventory Cleanup
- Process Metering History
- Process SQL groups
- System Health
- Update Active Directory Groups
- Update Application Groups
- Update OS Version
- Update Unit Commands
- Update Unlicensed Software Queries
Return value
Section titled “Return value”Boolean. Returns true if the group is created, otherwise false
Example
Section titled “Example”VBScript
Dim bStatusDim oCMS
Set oCMS = CreateObject("CapaInstaller.SDK")bStatus = oCMS.ResetLastRunOnGlobalTask("Update Active Directory Groups")