1. Home
  2. Docs
  3. Super-ExMerge On-line Doc...
  4. PowerShell Cmdlet Referen...
  5. Import-License

Import-License

Use this cmdlet to import a license that was exported from a different host.

Import-License

  • -FileName
  • [-Force]

Description

The Import-License cmdlet is used to import a previously exported license.

IMPORTANT! Importing a license will replace the current license on the host. It does not append or increment. The cmdlet will prompt for confirmation unless -Force is used.

Examples

Example 1
  Import-License -FileName c:\path\to\folders\exported.license.file -Force

This example imports the license from the full path and file name provided. It uses the optional -Force parameter to prevent the confirmation prompt from showing.


Parameters

-FileName

The FileName parameter specifies the path and filename of the exported license file to be imported.

Required:
Yes
Type:
String
Aliases:
None
Position:
0
Default Value:
None

-Force

The Force switch parameter determines whether a prompt is created to confirm the install of the license, or not. If this parameter is not used, a prompt will be shown.

Required:
No
Type:
SwitchParameter
Aliases:
None
Position:
Not a positioned parameter. Use by name only.
Default Value:
False

Output

This cmdlet does not place any data on the pipeline.

How can we help?