Options

How to fix New-NAVWebServerInstance is not recognized Error

wolfuliumwolfulium Member Posts: 30
I am trying to set up a new web server instance.
I am using the command New-NAVWebServerInstance -blahblah -blah -etc
but the PS is telling me the following

a5g83w7x5l29.png

Best Answer

Answers

  • Options
    wolfuliumwolfulium Member Posts: 30
    I do not see the admin shell or the NavAdminTools.
    The only thing in my nav folder is the RoleTailoredClient.

    Do these things usually reside on the server installation?
  • Options
    Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    Yes if you selected the option "Install Administration Tool" during installation. It is basically a shortcut to the Powershell with a command line to import the NavAdminTool.ps1 module. It looks like this:

    C:\Windows\system32\WindowsPowerShell\v1.0\PowerShell.exe -NoExit -ExecutionPolicy RemoteSigned " & ' C:\Program Files\Microsoft Dynamics NAV\100\Service\NavAdminTool.ps1 ' "

    The shortcut lives in C:\ProgramData\Microsoft\Windows\Start Menu\Programs

    Create it manually, or can start a Powershell command line as an administrator, issue the import-module "C:\Program Files\Microsoft Dynamics NAV\100\Service\NavAdminTool.ps1" command, and you will have all cmdlets available

    if you don't have NavAdminTool.ps1 file then start setup and add it from here.
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • Options
    Piyush_AgaPiyush_Aga Member Posts: 1
    I am running powershell as administrator and still I am getting this error. Kindly please help me to resolve the issue. Thanks in advance.

    tf8qtorhciis.png
    5vmfyy1thlct.png


    Regards,
    Piyush Agrawal
Sign In or Register to comment.