This powershell scripts will help you build containers for following products:
- Microsoft Dynamics Business Central - Sandbox
- Microsoft Dynamics Business Central - OnPrem
- Microsoft Dynamics NAV - OnPrem
-
Clone this project to your local disk.
- Create new folder on your local disk, for example C:\PowerShell\BC.
- Open command prompt and place your current directory to newly created folder.
C:\> cd "C:\PowerShell\BC"
- Now download the copy from github.
C:\PowerShell\BC> git clone https://github.com/maveca/containers.git
-
Open a tool for running scripts. Those are the options:
- Windows PowerShell ISE
- Windows Terminal
- VS Code with powershell extension.
-
Download licence file to this directory.
-
Use scripts from the root directory.
PS C:\> .\New-BCSandboxContainer.ps1 -licenseFile .\license.flf
-
Now and then use this script to get latest version of this scrips.
PS C:\> .\Get-LatestVersion.ps1
This scripts uses NAVContainerHelper module.
They are prepared to avoid common problems when using this scripts such as updating new version of NAVContainerHelper.
If you exclude all parameters except -licenseFile you should receive the latest version of product.