O'Reilly logo

Extending Microsoft Dynamics NAV 2016 Cookbook by Alexander Drogin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Administering NAV services with PowerShell

Administering NAV services becomes much easier with PowerShell, especially when the corporate infrastructure requires a large number of services running simultaneously. A simple task of restarting services may consume a lot of time when you need to do it for each service separately in the UI.

This is where PowerShell comes to aid; operations on NAV services can be automated and performed on many server instances in one cmdlet call.

How to do it...

This recipe presents PowerShell cmdlets to create and remove a NAV service, and control the state of installed services.

  1. Run the NAV 2016 Administrator Shell with administrator credentials.
  2. Create a NAV server instance. The name of the new instance is NavShellTest ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required