Export-NAVServerLicenseInformation

Export-NAVServerLicenseInformation

Exports license information from the Microsoft Dynamics NAV database.

Syntax

Parameter Set: __AllParameterSets
Export-NAVServerLicenseInformation [-ServerInstance] <String> [-Force] [-Tenant <TenantId> ] [ <CommonParameters>]

Detailed Description

Use the Export-NAVServerLicenseInformation cmdlet to export license information from the Microsoft Dynamics NAV database. If theMicrosoft Dynamics NAV Server account does not have access to the location where the global license file is stored, an error results. Check the Windows Event Log on the Microsoft Dynamics NAV Server computer to see what permissions are required.

Parameters

-Force

Forces the command to run without asking for user confirmation.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServerInstance<String>

Specifies the name of a Microsoft Dynamics NAV Server instance. The default instance name is DynamicsNAV90. You can specify either the full name of an instance (such as MicrosoftDynamicsNavServer$myinstance) or the short name (such as myinstance).

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Tenant<TenantId>

Specifies the ID of the tenant that the license is stored in, such as Tenant1. This parameter is required unless the specified service instance is not configured to run multiple tenants.

Aliases

Id

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.String

    You can pipe a string that contains a Microsoft Dynamics NAV Server instance name to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.String

    Returns license information as well-formatted text.

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

This example exports license information to the console window.

C:\PS>Export-NAVServerLicenseInformation MyInstance

_***********************_
THE LICENSE FILE INFORMATION
_***********************_