Compartir a través de


Changes to Microsoft Dynamics NAV Cmdlets From Previous Release

The following sections provide an overview of the new, changed, and removed cmdlets in the Microsoft Dynamics NAV 2016 Administration Shell and Microsoft Dynamics NAV 2016 Development Shell since the previous release.

Changes to Microsoft Dynamics NAV 2016 Administration Shell Cmdlets

New Cmdlets

The following table includes the new cmdlets in the current release.

Cmdlet Description

Export-NAVEncryptionKey

Exports an encryption key from a Microsoft Dynamics NAV Server instance to a password protected file.

Get-NAVTableConnection

Gets a list of connections to external database tables from a Microsoft Dynamics NAV application.

Import-NAVEncryptionKey

Imports an encryption key from a password protected file to a Microsoft Dynamics NAV Server instance.

New-NAVEncryptionKey

Creates an encryption key in a password protected file.

New-NAVTableConnection

Registers a connection to an external database table so the table can be used by the Microsoft Dynamics NAV application.

Remove-NAVTableConnection

Removes a connection to an external database table from the Microsoft Dynamics NAV application.

Remove-NAVWebServerInstance

Removes a Microsoft Dynamics NAV Web Server instance on IIS.

Note

A number of other new cmdlets are available in the Microsoft Dynamics NAV 2016 Administration Shell but are not yet listed here. For a full list, see Administration Cmdlets for Microsoft Dynamics NAV Extensions.

Changed Cmdlets

The following table includes the cmdlets that have changed in the current release.

Cmdlet Description

Dismount-NAVTenant

ApplicationDatabaseCredentials parameter added.

ApplicationDatabaseName parameter added.

ApplicationDatabaseServer parameter added.

InputTenantRuntimeSettings parameter added.

InputTenantSettings parameter added.

InputObject parameter removed and replaced by InputTenantRuntimeSettings and InputTenantSettings parameters.

DoNotSaveConfiguration parameter removed.

Export-NAVData

ApplicationDatabaseCredentials parameter added.

DatabaseCredentials parameter added.

Get-NAVCompany

FileName parameter changed to FilePath.

Get-NAVDataFile

FileName parameter changed to FilePath.

Get-NAVTenant

ApplicationDatabaseCredentials parameter added.

ApplicationDatabaseName parameter added.

ApplicationDatabaseServer parameter added.

Import-NAVData

ApplicationDatabaseCredentials parameter added.

DatabaseCredentials parameter added.

Mount-NAVApplication

DatabaseCredentials parameter added.

Mount-NAVTenant

ApplicationDatabaseCredentials parameter added.

ApplicationDatabaseName parameter added.

ApplicationDatabaseServer parameter added.

AzureKeyVaultSettings parameter added.

DatabaseCredentials parameter added.

DefaultTimeZone parameter added.

EncryptionProvider parameter added.

NasServicesEnabled parameter added.

RunNasWithAdminRights parameter added.

New-NAVServerInstance

DatabaseCredentials parameter added.

Multitenant parameter added.

Set-NAVServerInstance

DatabaseCredentials parameter added.

New-NAVServerUser

ContactEmail parameter added.

Set-NAVServerUser

ContactEmail parameter added.

Removed Cmdlets

The following table includes the removed cmdlets in the current release.

Cmdlet Description

Save-NavTenantConfiguration

Saves the current tenant configuration on the specified Microsoft Dynamics NAV Server instance. Tenant information is now stored in the database.

Changes to Microsoft Dynamics NAV 2016 Development Shell Cmdlets

New Cmdlets

The following table includes the new cmdlets in the current release.

Cmdlet Description

New-NAVCrmTable

Creates Microsoft Dynamics NAV table objects that are based on Microsoft Dynamics CRM entities.

Note

A number of other new cmdlets are available in the Microsoft Dynamics NAV 2016 Development Shell but are not yet listed here. For a full list, see Development Cmdlets for Microsoft Dynamics NAV Extensions.

Changed Cmdlets

The following table includes the cmdlets that have changed in the current release.

Cmdlet Description

None

Removed Cmdlets

The following table includes the removed cmdlets in the current release.

Cmdlet Description

None

See Also

Concepts

Microsoft Dynamics NAV Windows PowerShell Cmdlets

Other Resources

Administration Cmdlets for Microsoft Dynamics NAV
Development Cmdlets for Microsoft Dynamics NAV
Administration Cmdlets for Microsoft Dynamics NAV Extensions
Development Cmdlets for Microsoft Dynamics NAV Extensions