Its PowerShell Time!!!

Hi Guys, 

In this post I will just show how one should import NAV admin tool to powershell so that one may work with powershell for NAV administration.

Just search powershell from the start menu and right-click on Windows PowerShell ISE and click on Run as Administrator option, as shown in the image below,

Now, a window like the below will open,

The Command below is for NAV 2016 (Just change the version no. from 90, if its some another version)

Import-Module "C:\Program Files\Microsoft Dynamics NAV\90\Service\NavAdminTool.ps1"

If you want to import NAV Model tools, the command is below, 

Import-Module "C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\NavModelTools.ps1"

Copy and paste the above command in ISE and press F5 and the output will be a message on the screen as shown below,

Do not forget to hit Refresh button which appears on the Top-right of the screen (and to the left of Modules drop-down)

That's all for this post. Please post comments and doubts, I will try to answer them.

Keep Learning!!