Edit

Share via


New-AzConnectedLicenseDetail

Create an in-memory object for LicenseDetails.

Syntax

Default (Default)

New-AzConnectedLicenseDetail
    [-Edition <String>]
    [-Processor <Int32>]
    [-State <String>]
    [-Target <String>]
    [-Type <String>]
    [-VolumeLicenseDetail <IVolumeLicenseDetails[]>]
    [<CommonParameters>]

Description

Create an in-memory object for LicenseDetails.

Examples

Example 1: get the detail of an ESU license

New-AzConnectedLicenseDetail -State 'Activated' -Target 'Windows Server 2012' -Edition 'Datacenter' -Type 'pCore' -Processor 16
AssignedLicense     :
Edition             : Datacenter
ImmutableId         :
Processor           : 16
State               : Activated
Target              : Windows Server 2012
Type                : pCore
VolumeLicenseDetail :

get the detail of an ESU license

Parameters

-Edition

Describes the edition of the license. The values are either Standard or Datacenter.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Processor

Describes the number of processors.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-State

Describes the state of the license.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Target

Describes the license target server.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Type

Describes the license core type (pCore or vCore).

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VolumeLicenseDetail

A list of volume license details.

Parameter properties

Type:

IVolumeLicenseDetails[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

LicenseDetails