Création d'une instance NAV/BC via PowerShell

New-Service -Name 'MicrosoftDynamicsNAVServer$<INSTANCE NAME>' `
        -BinaryPathName '"C:\Program Files\Microsoft Dynamics 365 Business Central\<BUILD NO>\Service\Microsoft.Dynamics.Nav.Server.exe" $<INSTANCE NAME> /config "C:\Program Files\Microsoft Dynamics 365 Business Central\<BUILD NO>\Service\Microsoft.Dynamics.NAV.Server.exe.config"' `
        -DependsOn 'NetTcpPortSharing' `
        -Description 'Service handling requests to Microsoft Dynamics NAV application' `
        -DisplayName 'Microsoft Dynamics 365 Business Central Server [<INSTANCE NAME>]' `
        -StartupType Manual