RunningTask.InstanceGuid property

For scripting, gets the GUID identifier for this instance of the task.

Syntax

RunningTask.InstanceGuid As string

Property value

The GUID identifier for this instance of the task. An identifier is generated by the Task Scheduler service each time the task is run.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

Task Scheduler