Initialize-MSPC_Context

Syntax

Initialize-MSPC_Context -Clear [<CommonParameters>]

Initialize-MSPC_Context -Credentials <pscredential> -CustomerId <guid> -EndpointUrl <string> [<CommonParameters>]

Initialize-MSPC_Context -Credentials <pscredential> -CustomerId <guid> [-Environment <string>] [<CommonParameters>]

Initialize-MSPC_Context -Credentials <pscredential> -WorkgroupId <guid> -EndpointUrl <string> [<CommonParameters>]

Initialize-MSPC_Context -Credentials <pscredential> -WorkgroupId <guid> [-Environment <string>] [<CommonParameters>]

Detailed Description

Initialize-MSPC_Context initializes a(an) MSPC_Context. Creates a global mspc context object that contains the ticket, customer, customer scoped ticket, workgroup, workgroup scoped ticket etc.

Parameters

Total Parameters: 17

Clear

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Credentials

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

CustomerId

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

EndpointUrl

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

WorkgroupId

Paremeter specs:

Required True
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

Outputs

System.Object

Notes

Examples