Skip to main content

#msdyn365bc - Keep your containerhelper module updated?

Hi all,

As most of us are learning and start using dockers for business central. 

With the changes are happening with the product and also in bccontainer helper we need to make sure that we have always latest version of container module installed in our system.

In this article, I will share my way of keeping my bccontainerhelper updated.

1. Open Task Scheduler in Windows.

2. Create a New Folder in Task Scheduler. (Not Mandatory but it makes it simple to group)

3. Then Create a New Task.

4. And set these parameters  (General Tab) - 

  • Name - Update BC Container.
  • Description - Add a Description.
  • Run with Highest Privilege  as TRUE. (Run as Administrator)

5.  Open Trigger Tab and add a trigger based on time when you want to run it.  I have scheduled it Daily at 11:00 AM. You can choose date time and frequency as you need it.

6. Next is Action Trigger and add two new actions - 
  • Program - powershell
  • Uninstall the bccontainer helper.
    • Uninstall-Module -Name BCContainerHelper -Force
  • Install the bccontainer helper.
    • Install-Module -Name BCContainerHelper -Force

Now you will see two actions.

That's it. You don't need to worry about it after this. There will never be multiple versions of bccontainer helper and you will always have latest version of bccontainerhelper. 

If you have problems, then you can always see history of scheduled task (as shown below).

Hope this will make your update #bccontainerhelper automatic.

Let me know your views as comment to article.

Saurav Dhyani


Popular posts from this blog

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing - 

Dynamics 365 Business Central 2021 release wave 2 (BC19) Released.

Hi Readers, As we all were expecting Microsoft have Released Business Central 2021 Release Wave 2 Today a.k.a BC19. In this article we will see what all is announced with the General Availability.  Starting Today Customers & Partners can start using Business Central 19. #msdyn365bc #bc19

MSDYN365BC - Data Upgrade To Microsoft Dynamics 365 Business Central on premises.

Hi Readers, We have already talked about the number of steps for upgrading to Business Central on Premises from different NAV versions. After that article, I received multiple requests for an article which list down steps for Data Migration. In this article, we will discuss steps of data migration to MSDYN365BC (on-Prem) from NAV 2017. For this article, I am considering a Cronus Demo Database without any customization. For an actual upgrade project, we will have to complete object merge using compare and Merge process. After the Merge Process, the next step is data migration. Let's discuss those steps. Direct Upgrade to Microsoft Dynamics 365 Business Central (on-Prem) is from following versions - 1. NAV 2015. 2. NAV 2016. 3. NAV 2017. 4. NAV 2018.