# Reset LastRun Date On Global Task

> Resets the last run date on a global task.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/system-sdk-functions/reset-lastrun-date-on-global-task/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## Description

Resets the last run date on a global task

## Syntax

ResetLastRunOnGlobalTask(ByVal taskDisplayName As String) As Boolean

## 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

Boolean. Returns true if the group is created, otherwise false

## Example

**VBScript**

```vb
Dim bStatus
Dim oCMS
   
Set oCMS = CreateObject("CapaInstaller.SDK")
bStatus = oCMS.ResetLastRunOnGlobalTask("Update Active Directory Groups") 

```
