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)
Set the below parameter according to your requirement in Set-PartnerSettings File
Data upgrade process
Execute the Example.ps1 Command and system will run the whole Data Upgrade Process.
Data Upgrade Process Summary
After Code Upgrade and Data Upgrade Process through PowerShell, the following processes are to be carried out manually:
Roles and Permission Merging and Import to the New Upgraded Database
Import Generic Charts
Import Control Addin
Update the Source Code Setup Table Record
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.