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.

Regards,
Saurav Dhyani
www.sauravdhyani.com

Comments

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

NAV 2013 R2 - Cumulative update 12 Released.

Hi all, Please find below the details of  Cumulative Update 12 released for Microsoft Dynamics NAV 2013 R2. Title - Cumulative Update 12 for Microsoft Dynamics NAV 2013 R2 Build No. - 38053 Release Date - October, 2014 Local Version Included - AU, AT, BE, CH, DE, DK, ES, FI, FR, IS, IT, NA, NL, NO, NZ, SE, UK, RU Download Link Note: Implementing this cumulative update will require a database conversion unless you have already implemented update rollup 5.

NAV 2013 Upgrade Part III - Data Upgrading.

Hi all, As per agenda we need to discuss the data upgrade in NAV 2013. The process is similar to what used to be till NAV 2009 R2 but with some changes. Let's start the process. Remember -  1) You can only upgrade a database to NAV 2013 from NAV 2009 SP1 / R2 SQL Only. 2) The Synchronization of users with SQL Server is no more required.