Use this cmdlet to import a license that was exported from a different host.
PowerShell
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
PowerShell
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.
-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.
