web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Development Shell

(0) ShareShare
ReportReport
Posted on by

I have tried to create a test company using NAV 2016 Development Shell (already run as admin). But when I

execute the command "new-navcompany" shell cannot recognize the command and it returned an error. However when I execute the same command on Development shell version 8.0 it worked!!!. Any suggestion what has gone wrong in development shell version 9.0 ? why it cannot recognize the above quoted command?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    With what exactly parameters do you run that? What exactly is the error? Do you have different versions installed on the same machine?

  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,380 Super User 2025 Season 2 on at

    As Both Versions are installed the registry entries for the powershell modules seems to be mapped with NAV 2015 instead of 2016.

    Microsoft have come up with Solution for this and to implement that the approach is -

    > Un-install Nav 2015 and 2016.

    > Install NAV 2015.

    > Install NAV 2016 (at least CU1).

    Below is the reference ID from NAV 2016 CU1 Platform Hotfix.

    375957 Dynamics NAV 2016 overwrites Dynamics NAV 2015 MMC controls.

    Let us know how it goes.

  • Community Member Profile Picture
    on at

    Command : new-navcompany

    Error : new-navcompany : The term 'new-navcompany' is not recognized as the name of a cmdlet, function, script file, or

    operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try

    again.

    At line:1 char:1

    + new-navcompany

    + ~~~~~~~~~~~~~~

       + CategoryInfo          : ObjectNotFound: (new-navcompany:String) [], CommandNotFoundException

       + FullyQualifiedErrorId : CommandNotFoundException

    Yes I have installed NAV 2015 version too

  • Community Member Profile Picture
    on at

    Thanks Saurav will try your solution.

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    What is the build you using? If your build is 43402 (CU1) or higher you will not have this issue. This was a platform issues and it was resolved in the Cumulative Update 01 of NAV 2016.

    ID : 375957 - Dynamics NAV 2016 overwrites Dynamics NAV 2015 MMC controls.

  • Community Member Profile Picture
    on at

    I have both 2015 and 2016 are running on my PC,

    2015 : Build 37874

    2016 : Build 42815

  • Verified answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    Build 42815 is the initial version released. You need to at least update it to CU1 to overcome the issue.

  • Community Member Profile Picture
    on at

    ok will try Tharanga. Thank you for support

  • Tharanga Chandrasekara Profile Picture
    23,118 on at

    Your welcome.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans