Get-BT_TaskMetadata -Ticket <Ticket> [-Environment <string>] [-PageOffset <int>] [-PageSize <int>] [-RetrieveAll] [-ShouldUnmaskProperties <bool>] [-Id <Object[]>] [-IsDeleted <string>] [-Created <string[]>] [-SortBy_Created_Ascending] [-SortBy_Created_Descending] [-Updated <string[]>] [-SortBy_Updated_Ascending] [-SortBy_Updated_Descending] [-Version <Object[]>] [-SortBy_Version_Ascending] [-SortBy_Version_Descending] [-EditVersion <Object[]>] [-SortBy_EditVersion_Ascending] [-SortBy_EditVersion_Descending] [-SystemUserId <Object[]>] [-WorkgroupOrganizationId <Object[]>] [-DefaultAssignedToUserId <Object[]>] [-DefaultAssignedToTeamId <Object[]>] [-CallbackHandlerName <Object[]>] [-SortBy_CallbackHandlerName_Ascending] [-SortBy_CallbackHandlerName_Descending] [-AdditionalCallbackHandlerNames <Object[]>] [-SortBy_AdditionalCallbackHandlerNames_Ascending] [-SortBy_AdditionalCallbackHandlerNames_Descending] [-Name <Object[]>] [-SortBy_Name_Ascending] [-SortBy_Name_Descending] [-KeyName <Object[]>] [-SortBy_KeyName_Ascending] [-SortBy_KeyName_Descending] [-Description <Object[]>] [-SortBy_Description_Ascending] [-SortBy_Description_Descending] [-Instructions <Object[]>] [-SortBy_Instructions_Ascending] [-SortBy_Instructions_Descending] [-DefaultCategory <string[]>] [-DefaultPriority <string[]>] [-DefaultReminderPeriodInMinutes <Object[]>] [-SortBy_DefaultReminderPeriodInMinutes_Ascending] [-SortBy_DefaultReminderPeriodInMinutes_Descending] [-DefaultDueByType <string[]>] [-DefaultDueBy <string[]>] [-SortBy_DefaultDueBy_Ascending] [-SortBy_DefaultDueBy_Descending] [-DefaultDueByMinutesFromStart <Object[]>] [-SortBy_DefaultDueByMinutesFromStart_Ascending] [-SortBy_DefaultDueByMinutesFromStart_Descending] [-DefaultReminderAt <string[]>] [-SortBy_DefaultReminderAt_Ascending] [-SortBy_DefaultReminderAt_Descending] [-CompletionType <string[]>] [-WorkflowType <Object[]>] [-SortBy_WorkflowType_Ascending] [-SortBy_WorkflowType_Descending] [-ActivityName <Object[]>] [-SortBy_ActivityName_Ascending] [-SortBy_ActivityName_Descending] [-RetryCount <Object[]>] [-SortBy_RetryCount_Ascending] [-SortBy_RetryCount_Descending] [-IsSystemAdded <string>] [-LibraryReleaseLevel <string[]>] [-Visibility <string[]>] [-GroupName <Object[]>] [-SortBy_GroupName_Ascending] [-SortBy_GroupName_Descending] [-ShouldAutomaticallyStart <string>] [-AllowedExecutionEnvironment <string[]>] [<CommonParameters>]
Get-BT_TaskMetadata -Ticket <Ticket> -EndpointUrl <string> [-PageOffset <int>] [-PageSize <int>] [-RetrieveAll] [-ShouldUnmaskProperties <bool>] [-Id <Object[]>] [-IsDeleted <string>] [-Created <string[]>] [-SortBy_Created_Ascending] [-SortBy_Created_Descending] [-Updated <string[]>] [-SortBy_Updated_Ascending] [-SortBy_Updated_Descending] [-Version <Object[]>] [-SortBy_Version_Ascending] [-SortBy_Version_Descending] [-EditVersion <Object[]>] [-SortBy_EditVersion_Ascending] [-SortBy_EditVersion_Descending] [-SystemUserId <Object[]>] [-WorkgroupOrganizationId <Object[]>] [-DefaultAssignedToUserId <Object[]>] [-DefaultAssignedToTeamId <Object[]>] [-CallbackHandlerName <Object[]>] [-SortBy_CallbackHandlerName_Ascending] [-SortBy_CallbackHandlerName_Descending] [-AdditionalCallbackHandlerNames <Object[]>] [-SortBy_AdditionalCallbackHandlerNames_Ascending] [-SortBy_AdditionalCallbackHandlerNames_Descending] [-Name <Object[]>] [-SortBy_Name_Ascending] [-SortBy_Name_Descending] [-KeyName <Object[]>] [-SortBy_KeyName_Ascending] [-SortBy_KeyName_Descending] [-Description <Object[]>] [-SortBy_Description_Ascending] [-SortBy_Description_Descending] [-Instructions <Object[]>] [-SortBy_Instructions_Ascending] [-SortBy_Instructions_Descending] [-DefaultCategory <string[]>] [-DefaultPriority <string[]>] [-DefaultReminderPeriodInMinutes <Object[]>] [-SortBy_DefaultReminderPeriodInMinutes_Ascending] [-SortBy_DefaultReminderPeriodInMinutes_Descending] [-DefaultDueByType <string[]>] [-DefaultDueBy <string[]>] [-SortBy_DefaultDueBy_Ascending] [-SortBy_DefaultDueBy_Descending] [-DefaultDueByMinutesFromStart <Object[]>] [-SortBy_DefaultDueByMinutesFromStart_Ascending] [-SortBy_DefaultDueByMinutesFromStart_Descending] [-DefaultReminderAt <string[]>] [-SortBy_DefaultReminderAt_Ascending] [-SortBy_DefaultReminderAt_Descending] [-CompletionType <string[]>] [-WorkflowType <Object[]>] [-SortBy_WorkflowType_Ascending] [-SortBy_WorkflowType_Descending] [-ActivityName <Object[]>] [-SortBy_ActivityName_Ascending] [-SortBy_ActivityName_Descending] [-RetryCount <Object[]>] [-SortBy_RetryCount_Ascending] [-SortBy_RetryCount_Descending] [-IsSystemAdded <string>] [-LibraryReleaseLevel <string[]>] [-Visibility <string[]>] [-GroupName <Object[]>] [-SortBy_GroupName_Ascending] [-SortBy_GroupName_Descending] [-ShouldAutomaticallyStart <string>] [-AllowedExecutionEnvironment <string[]>] [<CommonParameters>]
Get-BT_TaskMetadata gets a(an) BT_TaskMetadata. Describes different types of tasks and how they behave. A task represents an IT task, which belongs to an IT service you can launch from MSPComplete. A task metadata contains information about one of your executions of the task, such as the execution status and the customer organization id.
Paremeter specs:
Required | True |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | True |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Available values are listed below.
Value | Description |
---|---|
BT | Represents BT |
Beta | Represents Beta |
Develop | Represents Develop |
Release | Represents Release |
Test | Represents Test |
China | Represents China |
Germany | Represents Germany |
Alpha | Represents Alpha |
Today | Represents Today |
Sandbox-02 | Represents Sandbox-02 |
Sandbox-03 | Represents Sandbox-03 |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
System.Object
Task metadata and task instance
There are two different types of entities for tasks:
the metadata, called TaskMetadata, which contains information about the task, such as the name and the type of the task
the instance, called TaskInstance, which contains information about one of your executions of the task, such as the execution status and the customer organization id
Public and private MSPComplete tasks
With MSPC, you can create your own custom tasks. While MSPComplete tasks offered by BitTitan do not belong to any workgroup, your private tasks belong to your workgroups.
-------------------------- Example 1 -------------------------
$offeringMetadataEntities = Get-BT_OfferingMetadata -Ticket $btTicket -KeyName "HealthCheckForAzure"
$offeringMetadataToTaskMetadataEntities = Get-BT_OfferingMetadataToTaskMetadata -Ticket $btTicket -OfferingMetadataId $offeringMetadataEntities[0].Id -SortBy_TaskDefaultExecutionOrder_Ascending
$taskMetadataEntities = Get-BT_TaskMetadata -Ticket $btTicket -Id $offeringMetadataToTaskMetadataEntities.TaskMetadataId