Get-VCFLicenseKey

Synopsis

Connects to the specified SDDC Manager and retrieves a list of License keys.

Syntax

Get-VCFLicenseKey -key <string> -productType <list> -status <string>

Description

The Get-VCFLicenseKey cmdlet connects to the specified SDDC Manager and retrieves a list of License keys.

Examples

Example 1

Get-VCFLicenseKey

This example shows how to get a list of all License keys

Example 2

Get-VCFLicenseKey -key "AAAAA-AAAAA-AAAAA-AAAAA-AAAAA"

This example shows how to get a specified License key

Example 3

Get-VCFLicenseKey -productType VCENTER

This example shows how to get a License Key by product type Supported Product Types: SDDC_MANAGER, VCENTER, VSAN, ESXI, NSXT

Example 4

Get-VCFLicenseKey -status EXPIRED

This example shows how to get a License by status Supported Status Types: EXPIRED, ACTIVE, NEVER_EXPIRES

Parameters

-key

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None

-productType

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accepted Value: SDDC_MANAGER,VCENTER,VSAN,ESXI,NSXT

-status

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accepted Value: EXPIRED,ACTIVE,NEVER_EXPIRES

Notes