I just created a Extension (NAV 2016).
Before a can run cetrain commands in Powershell ISE I need to import a few modules.
import-module "C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Microsoft.Dynamics.Nav.Model.Tools.psd1"
Import-Module "C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\\Microsoft.Dynamics.Nav.Apps.Tools.dll"
With the modules above I'm able to create the delta files and so on.
In the next step I get the a error message:
My guess is that I need an extra module for
- Publish-NAVApp
- Get-NAVAppInfo
- Install-NAVApp
I just can't find wich one.
My commands work fine when using the "NAV 2016 Development shell".
Answers
Import-Module 'C:\Program Files\Microsoft Dynamics NAV\90\Service\NavAdminTool.ps1' -WarningAction SilentlyContinue | Out-Null