Get-OSDCoreLicense
Returns a single Recast Core license object.
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:
PreferredEmail exact match (when provided)
Any non-empty email that is not support@recastsoftware.com
support@recastsoftware.com fallback
Empty or null email Expired licenses are still eligible for selection.
Syntax
Get-OSDCoreLicense [[-Path] <String>] [[-PreferredEmail] <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]Parameters
-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
Related
Last updated
Was this helpful?

