Read-R1License

SYNOPSIS

Reports what a license contains without applying it.

SYNTAX

Read-R1License [-license] <String> [<CommonParameters>]

DESCRIPTION

Reads a license and returns the type, product, expiry and validity it carries, without applying it to the deployment.

EXAMPLES

Example 1

Read-R1License -license $licenseKey

Reports what the license contains.

Example 2

Read-R1License -license (Get-Content .\radiantone.lic -Raw)

Reads a license from a file.

PARAMETERS

-license

The license key.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

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

INPUTS

System.String

OUTPUTS

psRadiantOne.LicenseInfo

NOTES

On a RadiantOne SaaS tenant the license endpoints return 404, licensing being handled through the environment operations center rather than through this API.

This command has not been exercised against a live deployment, so its behaviour rests on the published API definition alone.