Get-NAVAddIn

Returns information about add-ins that are registered in the table 2000000069 Add-ins of the Business Central database.

Syntax

Get-NAVAddIn
   [-AddInName <String>]
   [-Version <String>]
   [-PublicKeyToken <String>]
   [-Category <AddInCategory>]
   [-IncludeResource]
   [-ServerInstance] <String>
   [-Force]
   [-ProgressAction <ActionPreference>]
   [<CommonParameters>]

Description

The cmdlet displays the following information about the add-ins:

AddInName - The name of the add-in as it appears in the database table.

PublicTokenKey - A 16-character key that is given to the add-in assembly when it is built.

Version - The version number of the add-in.

Category - The category that add-in is assigned to. There are four different categories: Javascript Control Addin, DotNet Control Add-in, DotNet Interoperability, and Language Resource.

Resource (optional) - The resource binaries of the add-in. You use the parameters to filter the returned information on specific add-ins.

Examples

EXAMPLE 1

Get-NAVAddIn -ServerInstance BC -Category dotnetcontroladdin

This example returns a list of add-ins of the category DotNet Control Add-in that are registered in the database that is connected to the BC.

Parameters

-AddInName

Specifies the name of an add-in that you want view information about. The name must match the name as it appears in the database table.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Category

Specifies that category to filter the results on.

Type:AddInCategory
Accepted values:JavaScriptControlAddIn, DotNetControlAddIn, DotNetInteroperability, LanguageResource
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IncludeResource

Specifies to include the resource binaries with each add-in that is returned.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ProgressAction

A common PowerShell parameter that determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider. Learn more.

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PublicKeyToken

Specifies a public token key to filter the results on. The public key token is a 16-character key that is given to the assembly when it is built and signed in Microsoft Visual Studio.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ServerInstance

Specifies the name of a Business Central Server instance, for example, BC or myinstance. You can specify either the full name of an instance, such as MicrosoftDynamicsNavServer$myinstance or the short name such as myinstance.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Version

Specifies the add-in version number to filter on.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False