Get-NAVAddIn
Returns information about add-ins that are registered in the table 2000000069 Add-ins of the Business Central database.
Syntax
Default (Default)
Get-NAVAddIn
[-AddInName <String>]
[-Version <String>]
[-PublicKeyToken <String>]
[-Category <AddInCategory>]
[-IncludeResource]
[-ServerInstance] <String>
[-Force]
[<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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Category
Specifies that category to filter the results on.
Parameter properties
Type: | AddInCategory |
Default value: | None |
Accepted values: | JavaScriptControlAddIn, DotNetControlAddIn, DotNetInteroperability, LanguageResource |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Force
Forces the command to run without asking for user confirmation.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-IncludeResource
Specifies to include the resource binaries with each add-in that is returned.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | 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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | 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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Version
Specifies the add-in version number to filter on.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.