Set-MW_Coupon

Syntax

Set-MW_Coupon -Ticket <Ticket> -EndpointUrl <string> -coupon <Coupon[]> [-Code <string>] [-Label <string>] [-Block <string>] [-Restriction <string>] [-UserId <guid>] [-RedeemedLicensePackId <guid>] [-ActivationUserId <guid>] [-Quantity <long>] [-UnitPrice <decimal>] [-ProductSkuId <guid>] [-Validity <int>] [-ExpireDate <datetime>] [-PONumber <string>] [-IpAddress <string>] [-AccessLevel <string>] [<CommonParameters>]

Set-MW_Coupon -Ticket <Ticket> -coupon <Coupon[]> [-Environment <string>] [-Code <string>] [-Label <string>] [-Block <string>] [-Restriction <string>] [-UserId <guid>] [-RedeemedLicensePackId <guid>] [-ActivationUserId <guid>] [-Quantity <long>] [-UnitPrice <decimal>] [-ProductSkuId <guid>] [-Validity <int>] [-ExpireDate <datetime>] [-PONumber <string>] [-IpAddress <string>] [-AccessLevel <string>] [<CommonParameters>]

Detailed Description

Set-MW_Coupon sets a(an) MW_Coupon. Represents an coupon.

Parameters

Total Parameters: 30

coupon

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

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

ActivationUserId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Block

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Code

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

ExpireDate

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

IpAddress

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Label

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

PONumber

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

ProductSkuId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Quantity

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

RedeemedLicensePackId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Restriction

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

UnitPrice

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

UserId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Validity

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Outputs

System.Object

Notes

Examples