Windows PowerShell Cmdlets for Business Central

Business Central includes Windows PowerShell cmdlets for administration and for development and file management of application object files and extension packages. The cmdlets are available in six different modules that you can access from the Business Central Administration Shell and Microsoft Dynamics NAV Development Shell. For information about cmdlets in each module, including the syntax, options, and examples, see the following sections.

Important

Cmdlets can perform actions that can also be done from the client, such as creating and modifying entities like web services, companies, users, and more. Be aware that cmdlets do not execute code on application objects (such as tables or pages) that are associated with these entities. If you have added logic to these application objects, the logic will be ignored by the cmdlets. For example, if you added logic on table 9900 Web Service Aggregate to control the creation of web services, although this logic will run from the client, it will be ignored when creating web services by using the New-NAVWebService cmdlet.

Business Central Administration Shell

Description See module
Administration Cmdlets for Business Central Microsoft.Dynamics.Nav.Management
Administration Cmdlets for Business Central Extensions Microsoft.Dynamics.Nav.Apps.Management
Administration Cmdlets for Business Central Web Server Instances NAVWebClientManagement

Dynamics NAV Development Shell

Description See module
Development Cmdlets for Business Central Microsoft.Dynamics.Nav.Model.Tools
Development Cmdlets (script module) for Business Central Microsoft.Dynamics.Nav.Ide
Development Cmdlets for Business Central Extensions Microsoft.Dynamics.Nav.Apps.Tools

Dynamics 365 for Sales Integration

Description See module
Development Cmdlets for integration Business Central and Dynamics 365 for Sales Microsoft.Dynamics.Nav.Model.Tools.Crm

Note

For a list of new and changed cmdlets between versions, see Cmdlet Changes in Business Central.

See Also

Developer and IT-Pro Help for Microsoft Dynamics NAV