Options

Publish-NAVApp and Powershell ISE

gbierkensgbierkens Member Posts: 49
edited 2016-03-16 in NAV Three Tier
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:

9zyteo.png

My guess is that I need an extra module for
  1. Publish-NAVApp
  2. Get-NAVAppInfo
  3. Install-NAVApp

I just can't find wich one.
My commands work fine when using the "NAV 2016 Development shell".

Answers

  • Options
    gbierkensgbierkens Member Posts: 49
    Found it:
    Import-Module 'C:\Program Files\Microsoft Dynamics NAV\90\Service\NavAdminTool.ps1' -WarningAction SilentlyContinue | Out-Null
Sign In or Register to comment.