navcontainerhelper

0.2.9.6

PowerShell module

Installation Options

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

Install-Module -Name navcontainerhelper -RequiredVersion 0.2.9.6

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

Author(s)

Freddy Kristiansen

Copyright

(c) 2017 Freddy Kristiansen. All rights reserved.

Owners

Functions

Backup-NavContainerDatabases Compile-AppInNavContainer Compile-ObjectsInNavContainer Convert-ModifiedObjectsToAl Convert-Txt2Al Copy-FileFromNavContainer Copy-FileToNavContainer Create-MyDeltaFolder Create-MyOriginalFolder Create-AadAppsForNav Create-AadUsersInNavContainer 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-NavContainerNavUser Get-NavContainerNavVersion Get-NavContainerOsVersion Get-NavContainerPath Get-NavContainers Get-NavContainerServerConfiguration Get-NavContainerSession Get-NavContainerSharedFolders Get-NavContainerTenants Get-NavVersionFromVersionInfo Import-ConfigPackageInNavContainer Import-DeltasToNavContainer Import-NavContainerLicense Import-ObjectsToNavContainer Import-TestToolkitToNavContainer Install-NavContainerApp Install-NAVSipCryptoProviderFromNavContainer Invoke-NavContainerCodeunit New-CompanyInNavContainer New-CSideDevContainer New-DesktopShortcut New-NavContainer New-NavContainerNavUser New-NavContainerTenant New-NavContainerWindowsUser Open-NavContainer Publish-NavContainerApp Remove-CompanyInNavContainer Remove-ConfigPackageInNavContainer Remove-DesktopShortcut Remove-NavContainer Remove-NavContainerSession Remove-NavContainerTenant Replace-NavServerContainer Setup-NavContainerTestUsers Start-NavContainerAppDataUpgrade Sync-NavContainerApp Test-NavContainer UnInstall-NavContainerApp UnPublish-NavContainerApp Wait-NavContainerReady Write-NavContainerHelperWelcomeText

Dependencies

This module has no dependencies.

Release Notes

0.2.9.6
Rewrote Create-AadAppsForNAV to use AzureAD powershell package instead or AzureRM
Added function Create-AadUsersInNavContainer

0.2.9.5
Add generatesymbolreference=1 when Importing objects using Import-ObjectsToNavContainer or ImportTestToolkitToNavContainer

0.2.9.4
Set license to NULL from dbo.[dbproperty] and dbo.[tenantproperty] tables when exporting databases to bacpac

0.2.9.3
Use containername for hosts file when using -updatehosts (like remove-navcontainer)
Added parameter isolation to new-navcontainer to allow Windows Server to use hyperv isolation
Fixed a number of ScriptAnalyzer errors/warnings in NavContainerHelper
Empty the dbo.[Tenant License State] table when exporting databases to bacpac

0.2.9.1
Added function Backup-NavContainerDatabases
Added function New-CompanyInNavContainer (thanks Mike Glue)
Added function Remove-CompanyInNavContainer (thanks Mike Glue)
Added function Import-ConfigPackageInNavContainer.ps1 (thanks Mike Glue)
Added function Remove-ConfigPackageInNavContainer.ps1 (thanks Mike Glue)
Added function Get-NavContainerServerConfiguration (thanks Richard Robberse)
In Get-NavContainerPath - if you start the path with a colon (:), then the path refers to a path inside the container and not a shared folder
Bugfix: Create-AadAppsForNav required reboot after setup

0.2.9.0
Added tenant parameter (0..many tenants) to Export-NavContainerDatabasesAsBacpac
Object handling functions will not ask for credentials if not specified
BugFix: doNotOpen in Get-NavContainerEventLog was string - should be switch
Compile-AppInNavContainer had a dependency on the WebClient, this dependency is removed
BufFix: Compile-AppInNavContainer did not work on multitenant containers
BugFix: New-NavContainer will not crash when running the generic image with a NAV 2013 DVD
Updated tests

0.2.8.4
Bugfix: Invoke-NavContainerCodeunit didn't work with multitenancy
Bugfix: Premium user didn't work with multitenancy
Bugfix: Hardcoded containername in Setup-NavContainerTestUsers

0.2.8.0
BugFix: Create-AadAppsForNav throws an error when the owner of the Excel App Registration already exists
Add function Get-NavContainerNavUser to return users from the container
Add function Invoke-NavContainerCodeunit to invoke a codeunit in a container
Add function Compile-AppInNavContainer to compile an extension v2 app in a container (preview)
Added publisher and version to unpublish-navcontainerapp
Add function Setup-NavContainerTestUsers to setup test users with different plans and permissions
Add parameter -AssignPremiumPlan to new-navcontainer in order to assign premium plan to the default super user

0.2.7.5
BugFix: New-NavContainerTenant and Remove-NavContainerTenant falsely asks for SQL credentials if not specified

0.2.7.4
BugFix: -includeCSide and -shortcuts None caused an error that $customconfig didn't exist
Added -fullObjectsFolder to export-ModifiedObjectsAsDeltas to receive full objects
Added TLS1.2 support to Download-File
New-NavContainer now supports specifying a .zip file (UNC or URL) as NavDvdPath
Add function Get-NavContainerTenants to list all tenants from a multitenant container

0.2.7.3
BugFix: ExportTxtSkipUnlicensed doesn't get set in Export-NavContainerObject when using NavUserPassword authentication
Added -compile switch to Import-DeltasToNavContainer
Added -deltaFolder to Export-ModifiedObjectsAsDeltas
Increased timeout in Wait-NavContainerReady

0.2.7.1
Bugfix: Get-LocaleFromCountry returned blank for finnl and a lot of other finxx localizations
Add -settings on Windows Client shortcut to ensure correct clientsettings.config usage
Silence output of clearing modified flag
Add function Import-NavContainerLicense
Add parameters -sync and -install to Publish-NavContainerApp
Add filter parameter to Convert-ModifiedObjectsToAl and Export-ModifiedObjectsAsDeltas (default is Modified=1)
Support for inline scripts, URLs and .zip files in myscripts on New-NavContainer
Bugfix: Remove-NavContainer doesn't remove entries in hosts file
Remove-NavContainer to fail if it cannot remove the containerFolder (open files etc.)

0.2.7.0
Bugfix: Convert-ModifiedObjectsAsAl didn't include page extensions due to new parameter on Compare-NavApplicationObject

0.2.6.9
Bugfix: Use docker pull in New-NavContainer

0.2.6.8
Bugfix: New-NavContainer seems to hang

0.2.6.7
Add sync parameter on Publish-NavContainerApp
Added ExportTxtSkipUnlicensed to Export-NavContainerObjects

0.2.6.6
Add uninstall parameter on UnPublish-NavContainerApp
Add startup option to New-DesktopShortcut
Add generatesymbolreference=1 when Compiling objects using Compile-ObjectsInNavContainer

0.2.6.5
AzureSQL support for multitenancy
Add install parameter on Publish-NavContainerApp

0.2.6.4
Bugfix: Didn't work with "old" images

0.2.6.2
Bugfix: Create-AadAppsForNAV wasn't exported and was missing help

0.2.6.1
Check whether AAD is supported by Docker image

0.2.6.0
Add function Create-AadAppsForNav
Add parameter authenticationEmail to New-NavContainer
Remove default memory limit when running Windows Server as Docker host

0.2.5.2
Bugfix: Remove Test Tool shortcut when removing nav containers
Bugfix: Issue 89 CSide with external SQL and different port

0.2.5.1
Update Welcometext

0.2.5.0
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

0.2.2.4
Updated Readme

0.2.2.3
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

0.2.2.2
Added switch for enabling SymbolLoading (dual development), default is off

0.2.2.1
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 0.0.4.3 or earlier
Bugfix CSide desktop shortcut was always set to windows auth

0.2.2.0
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

0.2.1.3
Bugfix: Do not clear modified flag when container is restarting

0.2.1.2
Bugfix: Azure VM detection looked in wrong folder

0.2.1.1
Bugfix: username can now contain spaces
-myscripts parameter now supports files or folders - all will be copied into the c:\run\my folder

0.2.1.0
Added -databaseServer, -databaseInstance, -databaseName, -databaseCredential to new-navcontainer (Support for External SQL Server - generic tag 0.0.4.0 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

0.2.0.1
Remove recreate-navservercontainer
Simplify replace-navservercontainer and allow empty imagename

0.2.0.0
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)

0.1.2.1
Add generatesymbolreference=yes to CSide shortcut if EnableSymbolLoading is true

0.1.2.0
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

0.1.1.9
Added Start-NavContainerAppDataUpgrade function

0.1.1.8
Added ReleaseNotes a few versions back

0.1.1.7
Added ReleaseNotes to PowerShell Gallery

0.1.1.6
Added default values for additionalParameters and myScripts

0.1.1.5
Added -additionalParameters and -myScripts to New-CsideDevContainer and New-NavContainer
Added -useSSL switch to New-CsideDevContainer and New-NavContainer

0.1.1.4
Fixed a bug in Convert-ModifiedObjectsToAl, where conversion would end up with an empty AL folder

0.1.1.3
Secure passwords for creating containers

0.1.1.2 and earlier
Initial releases
use help on the individual functions to get info.

Version History

Version Downloads Last updated
0.6.0.9 145 4/19/2019
0.6.0.8 231 4/17/2019
0.6.0.7 933 4/14/2019
0.6.0.6 319 4/12/2019
0.6.0.5 68 4/11/2019
0.6.0.4 11 4/11/2019
0.6.0.3 200 4/11/2019
0.6.0.2 139 4/11/2019
0.6.0.1 3 4/11/2019
0.6.0.0 23 4/10/2019
0.5.0.11 3,485 3/27/2019
0.5.0.10 30 3/27/2019
0.5.0.9 1,374 3/19/2019
0.5.0.8 195 3/18/2019
0.5.0.7 1 3/18/2019
0.5.0.6 2,605 3/6/2019
0.5.0.5 631 3/4/2019
0.5.0.4 1,019 2/27/2019
0.5.0.3 354 2/25/2019
0.5.0.2 3,601 2/6/2019
0.5.0.1 1,250 1/30/2019
0.5.0.0 155 1/29/2019
0.4.3.2 2,183 1/17/2019
0.4.3.1 166 1/17/2019
0.4.3.0 839 1/13/2019
0.4.2.6 4,256 12/11/2018
0.4.2.5 76 12/11/2018
0.4.2.4 178 12/10/2018
0.4.2.3 1,209 12/4/2018
0.4.2.2 584 11/30/2018
0.4.2.1 40 11/30/2018
0.4.2.0 160 11/30/2018
0.4.1.2 3,211 11/16/2018
0.4.1.1 136 11/16/2018
0.4.1.0 368 11/15/2018
0.4.0.2 1,737 11/5/2018
0.4.0.1 2,314 10/28/2018
0.4.0.0 2,166 10/23/2018
0.3.1.4 6,994 9/30/2018
0.3.1.3 2,194 9/22/2018
0.3.1.2 798 9/18/2018
0.3.1.1 700 9/16/2018
0.3.1.0 2,324 9/2/2018
0.3.0.2 6,949 7/9/2018
0.3.0.1 228 7/6/2018
0.3.0.0 985 6/28/2018
0.2.9.7 844 6/23/2018
0.2.9.6 (current version) 80 6/22/2018
0.2.9.5 241 6/21/2018
0.2.9.4 240 6/19/2018
0.2.9.3 7 6/19/2018
0.2.9.2 1,298 6/10/2018
0.2.9.1 5 6/10/2018
0.2.9.0 544 6/6/2018
0.2.8.5 5,873 4/12/2018
0.2.8.4 15 4/12/2018
0.2.8.3 29 4/12/2018
0.2.8.2 9 4/12/2018
0.2.8.1 8 4/12/2018
0.2.8.0 16 4/11/2018
0.2.7.5 555 4/5/2018
0.2.7.4 311 4/2/2018
0.2.7.3 730 3/22/2018
0.2.7.2 2 3/22/2018
0.2.7.1 299 3/19/2018
0.2.7.0 2,481 3/6/2018
0.2.6.9 20 3/6/2018
0.2.6.8 2 3/6/2018
0.2.6.7 11 3/5/2018
0.2.6.6 32 3/5/2018
0.2.6.5 495 2/24/2018
0.2.6.4 482 2/16/2018
0.2.6.3 81 2/16/2018
0.2.6.2 19 2/16/2018
0.2.6.1 8 2/15/2018
0.2.6.0 2 2/15/2018
0.2.5.1 1,897 2/3/2018
0.2.5.0 7 2/3/2018
0.2.2.4 833 1/8/2018
0.2.2.3 3 1/8/2018
0.2.2.2 1,150 12/19/2017
0.2.2.1 104 12/16/2017
0.2.2.0 288 12/12/2017
0.2.1.3 745 11/30/2017
0.2.1.2 36 11/30/2017
0.2.1.1 61 11/29/2017
0.2.1.0 82 11/27/2017
0.2.0.1 1,747 11/12/2017
0.2.0.0 30 11/11/2017
0.1.2.1 226 11/9/2017
0.1.2.0 31 11/9/2017
0.1.1.9 515 11/7/2017
0.1.1.8 149 11/7/2017
0.1.1.7 3 11/7/2017
0.1.1.6 3 11/7/2017
0.1.1.5 38 11/6/2017
0.1.1.4 36 11/6/2017
0.1.1.3 387 11/3/2017
0.1.1.2 234 10/26/2017
0.1.1.1 5 10/26/2017
0.1.1.0 6 10/26/2017
0.1.0.3 207 10/21/2017
0.1.0.2 2 10/21/2017
0.1.0.1 3 10/21/2017
0.1.0.0 12 10/21/2017
Show less
.