Remove-NAVAddIn

Removes an add-in that is registered in the system table 2000000069 Add-ins of the Business Central database.

Syntax

Remove-NAVAddIn
      -AddInName <String>
      [-Version <String>]
      -PublicKeyToken <String>
      [-ServerInstance] <String>
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Removes an add-in that is registered in the system table 2000000069 Add-ins of the Business Central database.

Examples

EXAMPLE 1

Remove-NAVAddIn -ServerInstance BC -AddinName MyNavAddin -PublicKeyToken 31bf3856ad364e35

This example removes the MyNavAddin add-in from the system table 2000000069 Add-ins.

Parameters

-AddInName

Specifies the name of the add-in that you want to remove.

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

-Confirm

Prompts you for confirmation before executing the command.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
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

-PublicKeyToken

Specifies a public token key of the add-in that you want to remove. The public key token is a 16-character key that is given to the add-in assembly when it is built and signed in Microsoft Visual Studio.

Type:String
Position:Named
Default value:None
Required:True
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 a version number for the add-in. The version number must have the format N.N.N.N, such as 8.0.0.0. Use this parameter when there is more than one version of the add-in and you want to remove a specific version.

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

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

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