Tool: PowerShell module to create and deploy NAV CU patches

RemkoD
Member Posts: 100
Heya,
I've published a new PowerShell module online on Github for Dynamics NAV. You can deploy NAV Cumulative Updates on NAV application servers and client machines with this script. It's like manual patching NAV but in an automated more perfected and robust manner. If you're currently using a manual patching method or any other method that takes a lot of time to update an application server/workstation, make sure to check out this project
.
https://github.com/RemkoD/NavCumulativeUpdateDeployment
Main features preparing database conversion
Main features database conversion
Currently the script is designed to work for NAV 2013 to NAV 2017. Somewhere in the near future I will add support for NAV 2018 too.
All feedback is welcome. You can log bugs and feature requests on the GitHub page. I would like to use this topic for other questions/suggestions.
I've published a new PowerShell module online on Github for Dynamics NAV. You can deploy NAV Cumulative Updates on NAV application servers and client machines with this script. It's like manual patching NAV but in an automated more perfected and robust manner. If you're currently using a manual patching method or any other method that takes a lot of time to update an application server/workstation, make sure to check out this project

https://github.com/RemkoD/NavCumulativeUpdateDeployment
Current available features
Main features installing CU
- Scans host for installed NAV components (Windows Registry scan).
- Stops known blocking services/processes (NST's, clients, MS Office, Application Pools, etc).
- Verifies if the files to be updated are writable (stops if certain files are still locked)
- Creates a backup of the folders before updating.
- Updates the files in the NAV component folders with the new CU files.
- Updates the default NST CustomSettings.config with the new available keys.
- Updates Windows Registry with the new NAV build number.
Main features preparing database conversion
- Scans the local system for uniquely configured NAV databases from the NAV Service Tier configuration
- Creates example Cmdlets with prefilled variables to convert the found NAV databases.
- Saves the examples to a file and opens it in a new PowerShell ISE tab.
Main features database conversion
- Loads the 'Microsoft.Dynamics.Nav.Model.Tools.psd1' module dynamically
- Invokes the NAV database conversion
- Invokes the schema synchronization to complete database conversion
- Restarts NST between steps
Currently the script is designed to work for NAV 2013 to NAV 2017. Somewhere in the near future I will add support for NAV 2018 too.
All feedback is welcome. You can log bugs and feature requests on the GitHub page. I would like to use this topic for other questions/suggestions.
1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions