PowerShell module

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name navcontainerhelper -RequiredVersion

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Freddy Kristiansen


(c) 2017 Freddy Kristiansen. All rights reserved.



Add-FontsToNavContainer Backup-NavContainerDatabases Check-NavContainerHelperPermissions Compile-AppInNavContainer Compile-ObjectsInNavContainer Convert-AlcOutputToAzureDevOps Convert-CALExecutionTimeToTimeSpan Convert-CALTestOutputToAzureDevOps Convert-ModifiedObjectsToAl Convert-Txt2Al Copy-CompanyInNavContainer Copy-FileFromNavContainer Copy-FileToNavContainer Create-MyDeltaFolder Create-MyOriginalFolder Create-AadAppsForNav Create-AadUsersInNavContainer Download-File Enter-NavContainer Export-ModifiedObjectsAsDeltas Export-NavContainerDatabasesAsBacpac Export-NavContainerObjects Extract-FilesFromNavContainerImage Generate-SymbolsInNavContainer Get-BestNavContainerImageName Get-CompanyInNavContainer Get-LocaleFromCountry Get-NavContainerAppInfo Get-NavContainerAppRuntimePackage Get-NavContainerCountry Get-NavContainerDebugInfo Get-NavContainerEula Get-NavContainerEventLog Get-NavContainerGenericTag Get-NavContainerId Get-NavContainerImageLabels Get-NavContainerImageName Get-NavContainerImageTags Get-NavContainerIpAddress Get-NavContainerLegal Get-NavContainerName Get-NavContainerNavUser Get-NavContainerNavVersion Get-NavContainerOsVersion Get-NavContainerPath Get-NavContainerPlatformVersion Get-NavContainers Get-NavContainerServerConfiguration Get-NavContainerSession Get-NavContainerSharedFolders Get-NavContainerTenants Get-NavVersionFromVersionInfo Get-TestsFromNavContainer Import-ConfigPackageInNavContainer Import-DeltasToNavContainer Import-NavContainerLicense Import-ObjectsToNavContainer Import-PfxCertificateToNavContainer Import-TestToolkitToNavContainer Install-NavContainerApp Install-NAVSipCryptoProviderFromNavContainer Invoke-NavContainerCodeunit Invoke-ScriptInNavContainer New-CompanyInNavContainer New-DesktopShortcut New-LetsEncryptCertificate New-NavContainer New-NavContainerNavUser New-NavContainerTenant New-NavContainerWindowsUser Open-NavContainer Publish-NavContainerApp Remove-CompanyInNavContainer Remove-ConfigPackageInNavContainer Remove-DesktopShortcut Remove-NavContainer Remove-NavContainerSession Remove-NavContainerTenant Renew-LetsEncryptCertificate Repair-NavContainerApp Replace-NavServerContainer Restart-NavContainer Run-TestsInNavContainer Setup-NavContainerTestUsers Sign-NavContainerApp Start-NavContainer Start-NavContainerAppDataUpgrade Stop-NavContainer Sync-NavContainerApp Test-NavContainer UnInstall-NavContainerApp UnPublish-NavContainerApp Wait-NavContainerReady Write-NavContainerHelperWelcomeText


This module has no dependencies.

Release Notes
Added parameters testCodeunit and testFunction to Run-TestsInNavContainer to run individual tests
Added function Get-TestsFromNavContainer to get a list of available tests
Added a shortcut for the WinClient Debugger when using includecside
Include ImportAction to Import-TestToolKitToNavContainer and Import-ObjectsToNavContainer
Check that NavContainerHelper is running in 64bit mode
Remove Symbols for Application and Test when running containers in hybrid development
Use application version number from dbproperty database for application symbols (if possible)
BugFix: Transfer AzureDevOps parameter to PsTestRunner
Add paging to Get-NavContainerImageTags (needed for Azure Container Registries)
Do not allow c:\programdata\navcontainerhelper as the folder in Export-NavContainerObjects
BugFix #355 - Add-FontsToNavContainer fails if the folders doesn't have the same path
Added function Run-TestsInNavContainer (preview)
Update help text for Copy-FileToNavContainer and Copy-FileFromNavContiner and throw an error if the destination filename specifies a folder
Added function Copy-CompanyInNavContainer (Thanks Dmitry K.)
Bugfix: Compile-AppInNavContainer didn't escape the publisher name
Bugfix: All User data wasn't cleaned up when doing Export-NavContainerDatabasesAsBacpac
Fix bug where Get-BestNavContainerImageName returns an illegal image name
Support for running NavContainerHelper without elevated permissions
Added function Check-NavContainerHelperPermissions to test whether you have the needed permissions to run NavContainerHelper
Added function Repair-NavContainerApp
Added function Invoke-ScriptInNavContainer to invoke a PowerShell script in a Nav Container
Added function Get-NavContainerAppRuntimePackage to download a runtime package for an app from a container
Added function Get-NavContainerImageLabels to get the labels for an image directly from the registry
Added function Get-NavContainerImageTags to get the available tags a repository directly from the registry
Added parameter doNotUpdateSymbols to Import-TestToolkitToNavContainer to avoid symbol generation
Check Docker OS in New-NavContainer for better error messages
Fix timestamp in file name for Get-NavContainerEventLog
BugFix: Replace-NavServerContainer doesn't resolve the best containername and pulls the wrong container
Idea #308: Add ID to finsql shortcut to get individual .zup files
Idea #305: Include #Requires -PSEdition Desktop
Issue #204,#279: Business Inbox fails when running Business Central on Docker
Issue #290: Remove-NavContainer fails sometimes with shar
Default to process isolation when running Windows 10 18.09.1 or newer
Include Collation when using UseBestContainerOS
Fix Convert-CALTestOutputToAzureDevOps to support non-us cultures
Display NavContainerHelper version in New-NavContainer output
Check whether current user has access to run docker.exe instead of checking for admin privileges
BugFix: Backup-NavContainerDatabases did not work with multitenant containers
BugFix: Publish-NavContainerApp fails in and due to new parameters added
BugFix: Wrong defaulting of isolation mode
Added Scope and SyncMode parameters to Publish-NavContainerApp
Change mechanism to identify host OS
Display Docker version during New-NavContainer
Removed exception when trying to run Process isolation on Windows 10
Added defaulting mechanism for isolation (Server=process, non-server=hyperv)
BugFix: New-NavContainer cannot use images without a platform tag
BugFix: Get-BestNavContainerImageName should not append OS if already appended
BugFix: Extract-FilesFromNavContainerImage didn't work with SQL 2017
Better algorithm for finding which image to use
BugFix #268 Revert back to original image name if best container os doesn't exist
Automatically detect host OS and use best pre-built container (ltsc2016 or ltsc2019) unless specified
Added function Get-BestNavContainerImageName
BugFix Export-NavContainerDatabasesAsBacpac didn't work with containers with generic version pre
Include docker icon
Better error message in New-NavContainer
Bugfix: 1703 and 1709 build numbers was switched
Support for Windows Server 2019
Support for images with SQL Server 2017
BugFix #246: Windows Server insider builds couldn't use navcontainerhelper
Added function Sign-NavContainerApp to use a container to Sign an app file with a code signing certificate
When running generic image, .txt files were exported to a wrong folder (country not included)
Division by zero when exporting objects from a container and no objects matched the filter
Bugfix: If you specify -includeTestToolkit to New-NavContainer and use a foreign database, the import would fail
New-NavContainer will cache the files from Extract-FilesFromNavContainer for future usage instead of deleting them
New-CSideDevContainer has been removed - use New-NavContainer with -includeCSide instead
Added function Import-PfxCertificateToNavContainer
Feature request #238: Adding SynchronizeSchemaChanges parametar to Import-ObjectsToNavContainer
Added parameters -publishPorts and -publicDnsName in order to be able to create publicly available containers easier
Extract-FilesFromNavContainerImage would fail if any folders were missing
BugFix #207: Compile-AppInNavContainer is downloading symbols for app which is in the AppSymbolFolder
Include timezone parameter on Invoke-NavContainerCodeunit
Compile-AppInNavContainer checks existance of dependencies in app.json
Use .alpackages as default symbols folder
BugFix #216: enableSymbolLoading only works with includeCSide
BugFix #215: Naming symbol-files when compiling with Compile-AppInNavContainer
Display progress when pulling and avoid deadlocks when running using New-NavContainer
Bugfix Get-AzureADUser didn't always retrieve the user needed
New-NavContainer automatically detects best os version of generic image
Bugfix: navdvdpath didn't work when pointing to a url which was case sensitive
Feature #232: added tenant parameter to Get-NavContainerAppInfo
Added function Extract-FilesFromNavContainerImage to extract the files from a Nav Container image
Added parameter UseBestContainerOS to tell New-NavContainer to spin up a container based on the best compatible generic image.
Added parameter TestToolkitCountry to import-TestToolkitToNavContainer

Version History

Version Downloads Last updated 145 4/19/2019 231 4/17/2019 933 4/14/2019 319 4/12/2019 68 4/11/2019 11 4/11/2019 200 4/11/2019 139 4/11/2019 3 4/11/2019 23 4/10/2019 3,485 3/27/2019 30 3/27/2019 1,374 3/19/2019 195 3/18/2019 1 3/18/2019 2,605 3/6/2019 (current version) 631 3/4/2019 1,019 2/27/2019 354 2/25/2019 3,601 2/6/2019 1,250 1/30/2019 155 1/29/2019 2,183 1/17/2019 166 1/17/2019 839 1/13/2019 4,256 12/11/2018 76 12/11/2018 178 12/10/2018 1,209 12/4/2018 584 11/30/2018 40 11/30/2018 160 11/30/2018 3,211 11/16/2018 136 11/16/2018 368 11/15/2018 1,737 11/5/2018 2,314 10/28/2018 2,166 10/23/2018 6,994 9/30/2018 2,194 9/22/2018 798 9/18/2018 700 9/16/2018 2,324 9/2/2018 6,949 7/9/2018 228 7/6/2018 985 6/28/2018 844 6/23/2018 80 6/22/2018 241 6/21/2018 240 6/19/2018 7 6/19/2018 1,298 6/10/2018 5 6/10/2018 544 6/6/2018 5,873 4/12/2018 15 4/12/2018 29 4/12/2018 9 4/12/2018 8 4/12/2018 16 4/11/2018 555 4/5/2018 311 4/2/2018 730 3/22/2018 2 3/22/2018 299 3/19/2018 2,481 3/6/2018 20 3/6/2018 2 3/6/2018 11 3/5/2018 32 3/5/2018 495 2/24/2018 482 2/16/2018 81 2/16/2018 19 2/16/2018 8 2/15/2018 2 2/15/2018 1,897 2/3/2018 7 2/3/2018 833 1/8/2018 3 1/8/2018 1,150 12/19/2017 104 12/16/2017 288 12/12/2017 745 11/30/2017 36 11/30/2017 61 11/29/2017 82 11/27/2017 1,747 11/12/2017 30 11/11/2017 226 11/9/2017 31 11/9/2017 515 11/7/2017 149 11/7/2017 3 11/7/2017 3 11/7/2017 38 11/6/2017 36 11/6/2017 387 11/3/2017 234 10/26/2017 5 10/26/2017 6 10/26/2017 207 10/21/2017 2 10/21/2017 3 10/21/2017 12 10/21/2017
Show less