Yesterday, I did my session at NAVTechays, being “Thinking out of the box with NAV Development”. Now, I will be blogging about this great conference and about the session, but not just yet. In this post,I would like to shortly focus on one thing that I addressed during that session.
My Powershell Modules
The past two years, I have been doing a LOT of PowerShell in my free time. During waiting for airplanes, IN the airplanes, in hotels, … even during sleepless nights (which are usually most productive ;-)). This has resulted into a set of functions that actually make my daily life much easier, like:
- Creating an ISO from a Cumulative Update
- Install NAV
- Copy-ing a default instance to another test-instance
- Convert it to Multi Tenancy
- Data Upgrade
- Taking backups, restoring and destroying databases
Too much to address.
Now, starting from yesterday, this powershell functionset if available for you on Github to download. Github is a great platform for it, recommended by Kamil :-). I can post updates, and you can track what I update, even compare on code-level, to make up your mind whether you want the new version or not ;-). It also has got a functionality to report issues .. an opportunity for you to report any bugs to me (there will be… I promise .. so please do report them) 😉
The reason why I do this is simple. First of all I’m a community guy (duh .. ;-)) .. but also I did quite a lot of workshops and sessions the past two years, and the main impression that I got is that PowerShell isn’t very well adopted by the NAV community just yet. While it really can make your life so much easier on a daily basis.
Now, I admit it only started to be really really interesting to me when I started to get this function set together … so I truly believe that with this set, you will be able to start much quicker with PowerShell (if you already didn’t..).
It’s out there .. download it, use it, get ideas from it, try it out, use it in your daily life! Though, one big disclaimer. The download is “as is”. Without any support. I can promise two things: it will make your life easier, but also: there will be bugs! Please report them in github, so I can have a look at it – but there are no promises. This is still a side-project for after working hours, after all ;-).
Thanks – don’t have your downtime currently, but will try and free up some time to go through it. It is like returning to my Unix scripting days, but with a lot more power
Waldo, Thanks for all the great work. I’ve loved your presentation last week!
But what is that tool that you use to extend the ISE? That one you were getting for free, but is actually paid?
I meant ISE Steroids from this site: http://www.powertheshell.com/
Waldo, you showed us a really cool NAV Mgt. Tool on TechDays couple of days ago, which you can use for managing all NAV and SQL instances, open NAV databases with the right build, RDP to the right server and so on…
Is this tool is downloadable? If its not, then can you give us some advice how can we start to improve our processes with this kind of automatization?
This is an internal tool, I’m afraid. Just wanted to show what you can do with NAV ;-).
Hard to give you advice in the comment-section of a blog on that one. What I would be able to share, is how and why we started to automate these processes .. . Send me a mail if you want to go deeper in this with some kind of webcall ..
Hello, i need to make a script that installs NAV.
1)Installs NAV (Parameter: Installation folder path)
2)Restores a DB (parameter: Database path)
3)Creates an NAV Instance (Parameter: a config XML)
3.5) Starts the instance.
4)Uploads Customers License to DB. (Parameter: Customers License File)
5)Installs Language Pack. (Parameter: A Setup file which includes translated ResX files and build.)
6)Adds some records to Add-ins table for Turkish Lang. to be enabled.
7)Copies a txt files to a directory for caption translations. (Parameter: Source file and destination path)
8)Restarts the instance for enabling the Language Pack and Translated Captions.
I am pretty sure that the items above can be achieved with PowerShell comandlets. Can anyone assist me to create this script ? Our company is going to need install a lot of navision instances so a sctipt like this will be amazing.
Look at my scripts:
May be it gets you going ..