Skip to main content

TaskInfo

Properties

NameTypeDescriptionNotes
TaskIdInt64The unique identifier for the task.[optional]
TaskTypeNameStringThe type or category of the task.[optional]
StartTimeInt64The start time of the task, represented as epoch seconds.[optional]
EndTimeInt64The end time of the task, represented as epoch seconds.[optional]
TaskNameStringThe display name of the task.[optional]
CreatedByDisplayNameStringThe display name of the user who created the task.[optional]
ProgressInt32The progress of the task, typically represented as a percentage (0-100).[optional]
StatusStringThe current status of the task (e.g., ""Running"", ""Completed"", ""Failed"").[optional]
DetailsStringAdditional details or information about the task.[optional]
ScheduleTaskIdInt64The unique identifier of the associated scheduled task, if applicable.[optional]

Examples

  • Prepare the resource
$TaskInfo = Initialize-V2025TaskInfo  -TaskId 1001 `
-TaskTypeName DataSync `
-StartTime 1762237200 `
-EndTime 1762240800 `
-TaskName Daily Data Sync `
-CreatedByDisplayName Jane Doe `
-Progress 75 `
-Status Running `
-Details Task is processing files in the Finance folder. `
-ScheduleTaskId 2001
  • Convert the resource to JSON
$TaskInfo | ConvertTo-JSON

[Back to top]