Get-BT_Subscription -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] [-SystemUserId <Object[]>] [-WorkgroupOrganizationId <Object[]>] [-SubscriptionStartDate <string[]>] [-SortBy_SubscriptionStartDate_Ascending] [-SortBy_SubscriptionStartDate_Descending] [-SubscriptionEndDate <string[]>] [-SortBy_SubscriptionEndDate_Ascending] [-SortBy_SubscriptionEndDate_Descending] [-BillingStartDate <string[]>] [-SortBy_BillingStartDate_Ascending] [-SortBy_BillingStartDate_Descending] [-BillingEndDate <string[]>] [-SortBy_BillingEndDate_Ascending] [-SortBy_BillingEndDate_Descending] [-ProductSkuId <Object[]>] [-AgreementMonths <Object[]>] [-SortBy_AgreementMonths_Ascending] [-SortBy_AgreementMonths_Descending] [-SubscriptionProrationType <string[]>] [-BillingFrequencyMonths <Object[]>] [-SortBy_BillingFrequencyMonths_Ascending] [-SortBy_BillingFrequencyMonths_Descending] [-SubscriptionProcessState <string[]>] [-ErrorCode <string[]>] [-SubscriptionRenewalPolicy <string[]>] [-ReferenceEntityId <Object[]>] [-EntityReferenceId <Object[]>] [-ReferenceEntityType <string[]>] [-SubscriptionEntityReferenceType <string[]>] [<CommonParameters>]
Get-BT_Subscription -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] [-SystemUserId <Object[]>] [-WorkgroupOrganizationId <Object[]>] [-SubscriptionStartDate <string[]>] [-SortBy_SubscriptionStartDate_Ascending] [-SortBy_SubscriptionStartDate_Descending] [-SubscriptionEndDate <string[]>] [-SortBy_SubscriptionEndDate_Ascending] [-SortBy_SubscriptionEndDate_Descending] [-BillingStartDate <string[]>] [-SortBy_BillingStartDate_Ascending] [-SortBy_BillingStartDate_Descending] [-BillingEndDate <string[]>] [-SortBy_BillingEndDate_Ascending] [-SortBy_BillingEndDate_Descending] [-ProductSkuId <Object[]>] [-AgreementMonths <Object[]>] [-SortBy_AgreementMonths_Ascending] [-SortBy_AgreementMonths_Descending] [-SubscriptionProrationType <string[]>] [-BillingFrequencyMonths <Object[]>] [-SortBy_BillingFrequencyMonths_Ascending] [-SortBy_BillingFrequencyMonths_Descending] [-SubscriptionProcessState <string[]>] [-ErrorCode <string[]>] [-SubscriptionRenewalPolicy <string[]>] [-ReferenceEntityId <Object[]>] [-EntityReferenceId <Object[]>] [-ReferenceEntityType <string[]>] [-SubscriptionEntityReferenceType <string[]>] [<CommonParameters>]
Get-BT_Subscription gets a(an) BT_Subscription. Subscription entity class for storing a single subscription. Used for reoccurring billing. A subscription represents a user subscription that is required to run MSPComplete services for this user.
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 |
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 |
System.Object
Workgroup scope
Subscriptions belong to workgroups, thus a ticket scoped to a workgroup will only return the subscriptions belonging to this workgroup.
Subscription process state
The subscription process state can be non-processed, successfully processed, failed to processed or revoked. It is automatically updated and can take a few dozens of seconds to be updated.
-------------------------- Example 1 -------------------------
$subscriptions = Get-BT_Subscription -Ticket $btTicket