Windows PowerShell Cmdlets for Business Central Version 18 (2021 Release Wave 1)
Business Central version 18 includes Windows PowerShell cmdlets for the installation and configuration of components that comprise a Business Central deployment, including the Business Central Server, Web Server, databases, and extensions. The cmdlets are available in three different modules that you can access from the Business Central Administration Shell. For information about cmdlets in each module, including the syntax, options, and examples, see the following sections.
|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|
|Development Cmdlets for Business Central||Microsoft.Dynamics.Nav.Apps.Tools|
For a list of new and changed cmdlets since Business Central version 17 (2020 release wave 2), see Cmdlet Changes in Business Central.
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.