For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-OSDCoreLicense

Returns a single Recast Core license object.

Property
Value

Module

OSD

Platform

WinPE (amd64 / arm64)

Description

Reads .license2 files from the Recast Software license directory, parses the JSON payload, validates expected fields, removes duplicates, and returns one selected license object. Selection precedence is:

  1. PreferredEmail exact match (when provided)

  2. Any non-empty email that is not support@recastsoftware.com

  3. support@recastsoftware.com fallback

  4. Empty or null email Expired licenses are still eligible for selection.

Syntax

Get-OSDCoreLicense [[-Path] <String>] [[-PreferredEmail] <String>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

Parameters

Parameter
Type
Required
Description

-Path

String

False

The directory path to search for .license2 files.

-PreferredEmail

String

False

Optional preferred email value used to prioritize license selection when multiple license files exist. Comparison is case-insensitive.

Examples

Example

Example

Example

Last updated

Was this helpful?