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
Use the Administration shell, not the Development Shell as you have.
If you want/need to use Development shell you need to use import-module command and pass the full path to the NavAdminTool.ps1 module (it usually lives in c:\program files\Microsoft Dynamics NAV\<version>\Service\ )
Use the Administration shell, not the Development Shell as you have.
If you want/need to use Development shell you need to use import-module command and pass the full path to the NavAdminTool.ps1 module (it usually lives in c:\program files\Microsoft Dynamics NAV\<version>\Service\ )
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:
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.
Answers
If you want/need to use Development shell you need to use import-module command and pass the full path to the NavAdminTool.ps1 module (it usually lives in c:\program files\Microsoft Dynamics NAV\<version>\Service\ )
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
The only thing in my nav folder is the RoleTailoredClient.
Do these things usually reside on the server installation?
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.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Regards,
Piyush Agrawal