-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import specified version of NAV modules #39
Comments
Thanks! Will look into it when time permits! |
Hi again, I move the discussion from Twitter here. I paste my question and your response here:
Actually, the idea behind was to give the possibility to load a specific version+CU and offer so the script to be used in a fully automated process. Right now (and in whatever situation similar you describe) is required user interaction. So, my opinion is we need to consider: At that moment I didn`t implement the algorithm correctly exactly for the doubts I had and I have presented here right now. And later I actually forgot, sorry for that. Maybe my thoughts are wrong so in this case sorry in advance ;) |
To honour the Unix philosophy of "one thing well", which PowerShell appears to have adopted in its built-in cmdlets, I would suggest creating a separate, (probably parameterless) cmdlet that returns the installed NAV versions. This cmdlet (~ I guess my point is - create separate cmdlets as much as meaningfully possible. :-) |
@jhoek Maybe this is not exactly what you have on your mind but you could use Start-NAVVersionModuleSearch as a starting point. |
It would be great if you where able to import a specified version of the NAV modules with Import-NAVModules e.g.
Import-NAVModules -navVersion 10
would import whatever version of NAV 2017 you have installed.
At the moment it seems the parameter is not used for anything.
The text was updated successfully, but these errors were encountered: