Scripts/Install-BcAddin-AdditionalServer.ps1

# Specify the name of the Business Central Server Instance to use for the installation.
$ServerInstance = ''   # E.g. 'BC16' or 'BC15'

# Import PowerShell module
Install-Module FpsGeneral -Force
Import-Module  FpsGeneral -Force
Install-Module FpsBcDeployment -Force
Import-Module  FpsBcDeployment -Force

Publish-BcAddin `
    -Path (Get-ChildItem (Join-Path $PSScriptRoot 'DotNet')).FullName `
    -ServerInstance $ServerInstance -Force