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.



Compile-ObjectsInNavContainer Convert-ModifiedObjectsToAl Convert-Txt2Al Copy-FileFromNavContainer Copy-FileToNavContainer Create-MyDeltaFolder Create-MyOriginalFolder Download-File Enter-NavContainer Export-ModifiedObjectsAsDeltas Export-NavContainerDatabasesAsBacpac Export-NavContainerObjects Get-LocaleFromCountry Get-NavContainerAppInfo Get-NavContainerCountry Get-NavContainerDebugInfo Get-NavContainerEula Get-NavContainerEventLog Get-NavContainerGenericTag Get-NavContainerId Get-NavContainerImageName Get-NavContainerIpAddress Get-NavContainerLegal Get-NavContainerName Get-NavContainerNavVersion Get-NavContainerOsVersion Get-NavContainerPath Get-NavContainers Get-NavContainerSession Get-NavContainerSharedFolders Get-NavVersionFromVersionInfo Import-DeltasToNavContainer Import-ObjectsToNavContainer Import-TestToolkitToNavContainer Install-NavContainerApp Install-NAVSipCryptoProviderFromNavContainer New-CSideDevContainer New-DesktopShortcut New-NavContainer New-NavContainerNavUser New-NavContainerTenant New-NavContainerWindowsUser Open-NavContainer Publish-NavContainerApp Remove-DesktopShortcut Remove-NavContainer Remove-NavContainerSession Remove-NavContainerTenant Replace-NavServerContainer Start-NavContainerAppDataUpgrade Sync-NavContainerApp Test-NavContainer UnInstall-NavContainerApp UnPublish-NavContainerApp Wait-NavContainerReady Write-NavContainerHelperWelcomeText


This module has no dependencies.

Release Notes
Update Welcometext
Add support for multitenancy
Add switch -multitenant to new-navcontainer
Add function New-NavContainerTenant
Add function Remove-NavContainerTenant
Add function New-NavContainerNavUser
Add function New-NavContainerWindowsUser
Add function Get-NavContainerEventLog
Add function Export-NavContainerDatabasesAsBacpac
Change default filter in Compile-ObjectsInNavContainer to compiled=No
Add Shortcut for opening WebClient with Test Tool page if TestToolKit is included
Updated Readme
Add nav specific tags when running generic image
Check for tag tag when running fetching the tag (support generic image)
Check container name validity
Add test running generic image
Added switch for enabling SymbolLoading (dual development), default is off
Added function Import-TestToolkitToNavContainer
Added parameter -includeTestToolkit to New-NavContainer to automatically include TestToolkit objects
Include more information during start of new-navcontainer (and output the docker run command if it fails early)
Fix report preview when running docker images or earlier
Bugfix CSide desktop shortcut was always set to windows auth
Bugfix: Copying files to/from containers didn't work on Windows 10
Bugfix: Export-NavContainerObjects with a strange error if sharing the folder used for export directly
Export-NavContainerObjects now supports txt files and fob files -exportTo parameter replaces -exportToNewSyntax
Added Get-NavContainers to get all Nav containers
Add pipeline support for Remove-NavContainer and Remove-NavContainerSession (to allow Get-NavContainers | Remove-NavContainer)
Added Get-NavContainerDebugInfo
Show ContainerName in prompt in Enter-NavContainer
Bugfix: Do not clear modified flag when container is restarting
Bugfix: Azure VM detection looked in wrong folder
Bugfix: username can now contain spaces
-myscripts parameter now supports files or folders - all will be copied into the c:\run\my folder
Added -databaseServer, -databaseInstance, -databaseName, -databaseCredential to new-navcontainer (Support for External SQL Server - generic tag or later)
Added -shortcuts to new-navcontainer (support for placing shortcuts on startmenu or avoid them)
Added -navDvdPath and -navDvdCountry (support for running microsoft/dynamics-nav:generic with a DVD mounted)
Moved the working folder from c:\demo to c:\programdata\navcontainerhelper
Added -alwaysPull to new-navcontainerhelper to always pull newer image if exists
Remove recreate-navservercontainer
Simplify replace-navservercontainer and allow empty imagename
Breaking change: Change all username/password parameters to PSCredential
Change -updatehost to automatically update hosts on container restart
Breaking change: Remove -updatehost from Remove-NavContainer (automatically handled)
Add generatesymbolreference=yes to CSide shortcut if EnableSymbolLoading is true
When specifying -includeCSide containers are started with EnableSymbolLoad
Refactored all functions into different script files
Only clear object modified flag if using localhost\SQLExpress
Specify server in sqlcmd
Export-NavContainerObjects doesn't fail on NAV2016 and NAV2017 due to missing ExportToNewSyntax parameter
Added Start-NavContainerAppDataUpgrade function
Added ReleaseNotes a few versions back
Added ReleaseNotes to PowerShell Gallery
Added default values for additionalParameters and myScripts
Added -additionalParameters and -myScripts to New-CsideDevContainer and New-NavContainer
Added -useSSL switch to New-CsideDevContainer and New-NavContainer
Fixed a bug in Convert-ModifiedObjectsToAl, where conversion would end up with an empty AL folder
Secure passwords for creating containers and earlier
Initial releases
use help on the individual functions to get info.

Container info functions
Get-NavContainerNavVersion      Get Nav version from Nav Container
Get-NavContainerImageName       Get ImageName from Nav container
Get-NavContainerGenericTag      Get Nav generic image tag from Nav container
Get-NavContainerOsVersion       Get OS version from Nav container
Get-NavContainerLegal           Get Legal link from Nav container
Get-NavContainerCountry         Get Localization version from Nav Container
Get-NavContainerIpAddress       Get IP Address to a Nav container
Get-NavContainerSharedFolders   Get Shared Folders from a Nav container
Get-NavContainerPath            Get the path inside a Nav container to a shared file
Get-NavContainerName            Get the name of a Nav container
Get-NavContainerId              Get the Id of a Nav container
Test-NavContainer               Test whether a Nav container exists

Container handling functions
New-NavContainer                Create new Nav container
New-CSideDevContainer           Create new C/SIDE development container
Remove-NavContainer             Remove Nav container
Get-NavContainerSession         Create new session to a Nav container
Remove-NavContainerSession      Remove Nav container session
Enter-NavContainer              Enter Nav container session
Open-NavContainer               Open Nav container in new window
Wait-NavContainerReady          Wait for Nav Container to become ready

Object handling functions
Import-ObjectsToNavContainer    Import objects from .txt or .fob file
Import-DeltasToNavContainer     Merge delta files and Import objects
Compile-ObjectsInNavContainer   Compile objects
Export-NavContainerObjects      Export objects from Nav container
Create-MyOriginalFolder         Create folder with the original objects for modified objects
Create-MyDeltaFolder            Create folder with deltas for modified objects
Convert-Txt2Al                  Convert deltas folder to al folder
Export-ModifiedObjectsAsDeltas  Export objects, create baseline and create deltas
Convert-ModifiedObjectsToAl     Export objects, create baseline, create deltas and convert to .al files

App handling functions
Publish-NavContainerApp         Publish App to Nav container
Sync-NavContainerApp            Sync App in Nav container
Install-NavContainerApp         Install App in Nav container
Uninstall-NavContainerApp       Uninstall App from Nav container
Unpublish-NavContainerApp       Unpublish App from Nav container
Get-NavContainerAppInfo         Get info about installed apps from Nav Container
Install-NAVSipCryptoProviderFromNavContainer Install Nav Sip Crypto Provider locally from container to sign extensions

Azure VM specific functions
Replace-NavServerContainer      Replace navserver (primary) container
Recreate-NavServerContainer     Recreate navserver (primary) container

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 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 (current version) 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