Add-BT_TaskVariable

Syntax

Add-BT_TaskVariable -Ticket <Ticket> [-Environment <string>] [-Id <guid>] [-IsDeleted <bool>] [-Created <datetime>] [-Updated <datetime>] [-Version <int>] [-SystemUserId <guid>] [-OrganizationId <guid>] [-Name <string>] [-OfferingInstanceId <guid>] [-OfferingInstance <OfferingInstance>] [-SourceTaskInstanceId <guid>] [-SourceTaskInstance <TaskInstance>] [-SourceDataName <string>] [-SourceDataId <string>] [-Class <PropertyClass>] [-BusinessType <PropertyBusinessType>] [-VariableType <TaskVariableType>] [-Cardinality <Cardinality>] [-AvailableProperties <string[]>] [-Filters <TaskFilter[]>] [-DefaultInputValues <string[]>] [-IsRequired <bool>] [-AccessLevel <AccessLevel>] [<CommonParameters>]

Add-BT_TaskVariable -Ticket <Ticket> -EndpointUrl <string> [-Id <guid>] [-IsDeleted <bool>] [-Created <datetime>] [-Updated <datetime>] [-Version <int>] [-SystemUserId <guid>] [-OrganizationId <guid>] [-Name <string>] [-OfferingInstanceId <guid>] [-OfferingInstance <OfferingInstance>] [-SourceTaskInstanceId <guid>] [-SourceTaskInstance <TaskInstance>] [-SourceDataName <string>] [-SourceDataId <string>] [-Class <PropertyClass>] [-BusinessType <PropertyBusinessType>] [-VariableType <TaskVariableType>] [-Cardinality <Cardinality>] [-AvailableProperties <string[]>] [-Filters <TaskFilter[]>] [-DefaultInputValues <string[]>] [-IsRequired <bool>] [-AccessLevel <AccessLevel>] [<CommonParameters>]

Detailed Description

Add-BT_TaskVariable adds a(an) BT_TaskVariable. Describes an instance of a variable used for an .

Parameters

Total Parameters: 37

EndpointUrl

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Ticket

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

AccessLevel

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

AvailableProperties

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

BusinessType

Available values are listed below.

Value Description
EmailAddress Email address.
Domain Domain.
PhoneNumber Phone number.
EndUser MSPC End user.
Group MSPC Group.
Endpoint MSPC Endpoint.
Device MSPC Device.
Customer MSPC Customer.
MailboxQuota Mailbox quota in MB.
ProxyJob Proxy job.
ReportOption Report option (e.g. whether to ignore software version numbers in the software inventory report).
ProjectStats Project stats.
DateTime Date time.
Gateway MSPC Gateway.
ActiveDirectoryForest Active directory forest.
Long 64-bit long.
Percentage Percentage.
TextBox Text box. TODO (MSPC-3978) - Deprecate this business type.
CheckBox Boolean. TODO (MSPC-3978) - Deprecate this business type.
Guid Guid.
SelectBox Select box. TODO (MSPC-3978) - Deprecate this business type.
MicrosoftAzureRegion Microsoft Azure Region.
Resource MSPC Customer Resource.
PowerShellScriptAssetId PowerShell script id.
AutomationContextData The automation context data.
SecureString The secure string that will be masked.
Boolean Boolean (true / false).
VirtualMachine Virtual machine ( with DeviceType of VirtualMachine).
Server Server ( with DeviceType of Server).
Computer Computer ( with DeviceType of Computer).
String String.
Double Double.
TextArea Text area. TODO (MSPC-3978) - Deprecate this business type.

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Cardinality

Available values are listed below.

Value Description
Single Single (i.e. exactly one).
Multiple Multiple (i.e. at least one).

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Class

Available values are listed below.

Value Description
Simple Simple property.
Reference Reference property.

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Created

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

DefaultInputValues

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Environment

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

Filters

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Id

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

IsDeleted

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

IsRequired

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Name

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

OfferingInstance

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

OfferingInstanceId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

OrganizationId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

SourceDataId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

SourceDataName

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

SourceTaskInstance

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

SourceTaskInstanceId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

SystemUserId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Updated

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

VariableType

Available values are listed below.

Value Description
UserDefined User defined .
SystemDefined System defined .

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Version

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Outputs

System.Object

Notes

Examples