Technology trends, insights, success
stories and other helpful resources.

Upgrade Dynamics NAV through PowerShell – 2

August 19th, 2017 Intech SystemJignesh Dhandha Dynamics NAV, Microsoft Dynamics

Our previous blog was the first part of how to upgrade Dynamics NAV through PowerShell. It gave details about code upgrade. This blog shows process of the next step – database upgrade. Following are the steps:

  • Go to WindowsPowerShellScripts -> Upgrade Folder of Target Version ( in which we would like to upgrade our database)

 

Windows Power Shell Scripts

 

  • Set the below parameter according to your requirement in Set-PartnerSettings File

 

set parameters Set-PartnerSettings File

 

  • Data upgrade process

 

data upgrade process

 

  • Execute the Example.ps1 Command and system will run the whole Data Upgrade Process.

 

run example.ps1 command

 

  • Data Upgrade Process Summary

 

data upgrade process summary

 

After Code Upgrade and Data Upgrade Process through PowerShell, the following processes are to be carried out manually:

  1. Roles and Permission Merging and Import to the New Upgraded Database
  2. Import Generic Charts
  3. Import Control Addin
  4. Update the Source Code Setup Table Record
  5. Update Access Control

Advantages and Disadvantages

The advantages of Code and Data Upgrade through PowerShell are that it is cost effective and time saving. The drawback of this process is that it is only applicable for Dynamics NAV 2013 and higher version.
For more details, contact our Dynamics NAV consultants.

Recent Post

Corporate Profile

Request Demo Download Brochure
Contact Us

How we can help you!

Talk to Dynamics 365 experts for your concerns

Contact Us
Contact Us

How can we help? - Talk to Dynamics 365 experts for your concerns

    Join our mailing list for news updates, invitations, and more