Cmdlet Changes in Business Central

The following sections provide an overview of the new, changed, and removed cmdlets in the Administration Shell and Development Shells for Business Central since Dynamics NAV 2018.

Business Central April 2019

New cmdlets

  • none

Changed cmdlets

Microsoft.Dynamics.Nav.Management module

Cmdlet Description
Export-NAVData -SqlCommandTimeout parameter added. Introduced in 14.25.
Get-NavAppRuntimePackage -ShowMyCode parameter added.
Import-NAVData -IncludeSystemTablesWithCompanyRelation and -SqlCommandTimeout parameters added. Introduced in 14.25.
New-NAVWebServerInstance -ManagementServicesPort parameter added.
Start-NAVDataUpgrade -SkipUserSessionCheck parameter added.

Deprecated cmdlets

  • none

Business Central October 2018

Changes to Business Central Administration Shell Cmdlets

New cmdlets for administering the Business Central deployment

The following cmdlets are new in the Microsoft.Dynamics.NAV.Management module.

Cmdlet Description
Convert-NAVCustomization Converts a profile or user personalization in the Business Central database to the latest version.
Set-NAVCompany Changes properties of a Business Central company.

Changed cmdlets for administering the Business Central deployment

The following cmdlets have been changed in the Microsoft.Dynamics.NAV.Management module.

Cmdlet Description
Export-NAVData UseDatabase_NoCompanies parameter set has been removed.
Set-NAVServerConfiguration -KeyName, -InMemory, and -IgnoreSettingsWithDefaultValues parameters has been added.
Get-NAVServerPermission Enum and EnumExtension have been added as accepted values for the -ObjectType parameter.
Import-NAVData -SqlBulkImportBatchSize parameter has been added. UseDatabase_NoCompanies parameter set has been removed.
New-NAVCompany -CommitPerTCompanyDisplayName parameter has been added.
New-NAVServerInstance -DeveloperServicesPort has been added.
New-NAVServerPermission Enum and EnumExtension have been added as accepted values for the -ObjectType parameter.
New-NAVServerUser -Company and -LanguageID parameters have been added.
New-NAVWebService Enum and EnumExtension have been added as accepted values for the -ObjectType parameter.
Remove-NAVServerPermission Enum and EnumExtension have been added as accepted values for the -ObjectType parameter.
Remove-NAVWebService Enum and EnumExtension have been added as accepted values for the -ObjectType parameter.
Set-NAVServerPermission Enum and EnumExtension have been added as accepted values for the -ObjectType parameter.
Set-NAVServerUser -Company and -LanguageID parameters have been added.

Changed cmdlets for administering Business Central Extensions

The following cmdlets have been changed in the Microsoft.Dynamics.NAV.Apps.Management module.

Cmdlet Description
Get-NAVAppRuntimePackage -ApplicationDatabaseName, -ApplicationDatabaseServer, -ApplicationDatabaseCredentials, -ServiceAccount, -SandboxDatabaseName, -SandboxDatabaseServer, -SandboxDatabaseCredentials, and -SqlTimeout parameters have been removed. The -Tenant parameter has been added.
Publish-NAVApp -ApplicationDatabaseName, -ApplicationDatabaseServer, -ApplicationDatabaseCredentials, -IdePath, -LogPath, ServiceAccount, -SandboxDatabaseName, -SandboxDatabaseServer, -SandboxDatabaseCredentials, and -SqlTimeout parameters have been removed. The -Tenant parameter has been added.
Repair-NAVApp -ApplicationDatabaseName, -ApplicationDatabaseServer, -ApplicationDatabaseCredentials, -IdePath, ServiceAccount, -SandboxDatabaseName, -SandboxDatabaseServer, -SandboxDatabaseCredentials, and -SqlTimeout parameters have been removed.
Unpublish-NAVApp -Tenant parameter has been added.

Removed cmdlets for administering Business Central Extensions

The following cmdlet has been removed in the Microsoft.Dynamics.NAV.Apps.Management module.

Cmdlet Description
Remove-NAVAppsForTenant Extensions V1 are not supported in Business Central.

Changes to Dynamics NAV Development Shell Cmdlets

This sections lists the new, removed and changed cmdlets for the Dynamics NAV Development Shell, which consists of the Microsoft.Dynamics.NAV.Model.Tools and Microsoft.Dynamics.NAV.Apps.Tools modules.

Changed cmdlets for merging and modifying application object files

The following cmdlets have been changed in the Microsoft.Dynamics.NAV.Model.Tools module.

Cmdlet Description
Compare-NAVApplicationObject -ExportToNewSyntax parameter has been added.

Removed cmdlets for merging and modifying application object files

The following cmdlet has been removed in the Microsoft.Dynamics.NAV.Model.Tools module.

Cmdlet Description
New-NAVCrmTable Relocated to the Microsoft.Dynamics.Nav.Model.Tools.Crm module. For more information, see Microsoft.Dynamics.Nav.Model.Tools.Crm.md.

The following cmdlet has been removed in the Microsoft.Dynamics.NAV.App.Tools module.

Cmdlet Description
New-NAVCrmTable Relocated to the Microsoft.Dynamics.Nav.Model.Tools.Crm module
Get-NAVAppManifest Extensions V1 are not supported in Business Central.
New-NAVAppManifest Extensions V1 are not supported in Business Central.
New-NAVAppManifestFile Extensions V1 are not supported in Business Central.
New-NAVAppPackage Extensions V1 are not supported in Business Central.
Set-NAVAppManifest Extensions V1 are not supported in Business Central.

See Also

Microsoft Dynamics NAV Windows PowerShell Cmdlets