Converting Dynamics NAV source code from C/AL to AL using PowerShell

Converting from C/AL to AL can be a bit of a hassle: First you need to open den Development Environment Then filter the objects that needs converting Export the objects to a txt file in a folder Then Run the Txt2AL.exe Lastly import them in the workspace So, I thought: Why cannot I do that directly from VS Code with PowerShell?

Bron : Aphorisms about Microsoft Dynamics NAV
Lees meer…

CRS.RemoteNAVDockerHostHelper – my new PowerShell module

I have been struggling in getting my head around managing “stuff” on Docker. You know – the new kid in town that will see its use in many fields. We implemented a Docker-based environment for Build-server, for local dev, and now also for test servers for customers. And as you know – you can use is for much more!

Bron : Waldo’s Blog
Lees meer…

Reuse DynamicParam implementations in PowerShell

As I wrote here, there is an easy way to enter into a PowerShell container session, which I enhanced a bit in the second iteration to do dynamic name resolution for the containers.

We now have the “NAV Container Helper” script which adds some convenience cmdlets when working with container based NAV installs. I wanted to also enhance that with dynamics name resolution without having to add all the code to every cmdlet which turned out to be not that easy

Bron : Tobias Fenster
Lees meer…

Argument Completion for NAV PowerShell cmdlets

One of my pet peeves about the PowerShell cmdlets that ship with NAV is the lack of built-in argument completion: the module in question knows exactly which server instances exist (after all, it has a cmdlet that lets you retrieve a list of these instances), but lacks the ability to enumerate the instance names when you specify a -ServerInstance parameter and press the Tab key.

Bron : Zen & The art of C/SIDE development
Lees meer…

Import-NAVModules: An easy way to import NAV PowerShell modules

I seem to remember that I have told you that I have created some modules in PowerShell to make my (and your) life easier in Microsoft Dynamics NAV.. ;-).
Well – it seems that these modules are getting some traction. They are available on Github, and the PowerShell Gallery – and people seem to be downloading them quite a lot.

Bron : Waldo’s Blog
Lees meer…