Microsoft.Dynamics.Nav.Management

The Microsoft Dynamics NAV 2017 Administration Shell includes cmdlets for administering the Dynamics NAV deployment, such as adding and configuring Microsoft Dynamics NAV Server instances, databases, and users. These cmdlets are included in the Microsoft.Dynamics.Nav.Management module that is installed as part of the Microsoft Dynamics NAV 2017 Administration Shell when you install the Microsoft Dynamics NAV Server.

Note

Also included in the Microsoft Dynamics NAV 2017 Administration Shell are cmdlets for administering extension packages. For more information about these cmdlets, see Microsoft.Dynamics.Nav.Apps.Management.

Microsoft.Dynamics.Nav.Management

Copy-NAVCompany

Creates a new company and copies all data from an existing company in the same tenant database.

Dismount-NAVTenant

Dismounts a tenant on the specified Microsoft Dynamics NAV Server instance. All active user sessions that access the tenant will end.

Export-NAVApplication

Extracts the application tables in a Microsoft Dynamics NAV database to a separate database. The new application database is created on the same SQL Server instance as the original database.

Export-NAVData

Exports data from a Microsoft Dynamics NAV database.

Export-NAVEncryptionKey

Exports the encryption key to a file in a specified path on the computer or network.

Export-NAVServerLicenseInformation

Exports license information from the Microsoft Dynamics NAV database.

Get-NAVAddIn

Returns information about add-ins that are registered in the table 2000000069 Add-ins of the Microsoft Dynamics NAV database.

Get-NAVApplication

Gets information about the application database that is mounted against the specified Microsoft Dynamics NAV Server instance.

Get-NAVCompany

Gets a list of the Microsoft Dynamics NAV companies in the specified tenant database.

Get-NAVDataFile

Gets information from a Microsoft Dynamics NAV data file.

Get-NAVDataUpgrade

Gets information about a data upgrade process that is currently running, or the last completed data upgrade process.

Get-NAVServerAppConfiguration

Returns the settings in an application-specific configuration file of a Dynamics NAV Server instance.

Get-NAVServerConfiguration

Returns configuration settings for the specified Microsoft Dynamics NAV Server instance.

Get-NAVServerInstance

Gets service details for the specified Dynamics NAV Server instance.

Get-NAVServerPermission

Returns information about the permissions that are applied to Dynamics NAV objects for the specified Dynamics NAV Server instance.

Get-NAVServerPermissionSet

Returns a list of permission sets for the specified Microsoft Dynamics NAV Server instance.

Get-NAVServerSession

Returns information about active sessions for a Microsoft Dynamics NAV Server instance.

Get-NAVServerUser

Returns information about all users created in the current Microsoft Dynamics NAV database.

Get-NAVServerUserPermissionSet

Returns permission set information for Microsoft Dynamics NAV users.

Get-NAVTableConnection

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

Get-NAVTenant

Gets the tenants that are mounted against the specified Microsoft Dynamics NAV Server instance.

Get-NAVWebServerInstance

Gets the information about the Microsoft Dynamics NAV Web Server instances that are registered on a computer.

Get-NAVWebService

Gets a list of all web services that are created in the application on the specified Microsoft Dynamics NAV Server instance.

Import-NAVConfigurationPackageFile

Imports a configuration package file into the Microsoft Dynamics NAV application database.

Import-NAVData

Imports data from a file that has been exported from a Microsoft Dynamics NAV database.

Import-NAVEncryptionKey

Imports an encryption key from a file to a Microsoft Dynamics NAV Server instance and database in SQL Server.

Import-NAVMembershipEntitlement

Imports the license entitlement data for a membership association.

Import-NAVServerLicense

Imports a license file into a Microsoft Dynamics NAV database.

Invoke-NAVCodeunit

Invokes the specified codeunit with the specified parameters.

Mount-NAVApplication

Mounts the Microsoft Dynamics NAV application against the specified server instance.

Mount-NAVTenant

Mounts a tenant database against the specified Microsoft Dynamics NAV Server instance.

New-NAVAddIn

Registers an add-in the system table 2000000069 Add-ins of the Microsoft Dynamics NAV database.

New-NAVCompany

Creates a new Microsoft Dynamics NAV company in the specified database.

New-NAVDatabase

Creates a new Microsoft Dynamics NAV database from a backup file.

New-NAVEncryptionKey

Create an encryption key and stores it in a file in a specified path on the computer or network.

New-NAVServerAppConfiguration

Creates a new application-specific configuration file for the Dynamics NAV Server instance.

New-NAVServerConfiguration

Creates a new configuration with default values, or to replace the existing configuration for a Microsoft Dynamics NAV Server instance.

New-NAVServerInstance

Creates a new Microsoft Dynamics NAV Server instance.

New-NAVServerPermission

Adds a permission to a permission set.

New-NAVServerPermissionSet

Creates a new permission set.

New-NAVServerUser

Creates a new Microsoft Dynamics NAV user.

New-NAVServerUserPermissionSet

Assigns a permission set to a Microsoft Dynamics NAV user.

New-NAVTableConnection

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

New-NAVWebServerInstance

Creates a new Microsoft Dynamics NAV Web Server instance and binds this instance to a Microsoft Dynamics NAV Server instance.

New-NAVWebService

Creates a new Microsoft Dynamics NAV web service.

Remove-NAVAddIn

Removes an add-in that is registered in the system table 2000000069 Add-ins of the Microsoft Dynamics NAV database.

Remove-NAVApplication

Removes the tables that define the application from a Microsoft Dynamics NAV database. When you have removed the application tables from the database, you cannot import them again. Make sure that you have a full backup available.

Remove-NAVCompany

Removes a company from a Microsoft Dynamics NAV database.

Remove-NAVConfigurationPackageFile

Removes a configuration package file from the Microsoft Dynamics NAV app database.

Remove-NAVServerInstance

Removes a Microsoft Dynamics NAV Server instance.

Remove-NAVServerPermission

Removes a permission from a permission set.

Remove-NAVServerPermissionSet

Removes a Microsoft Dynamics NAV permission set.

Remove-NAVServerSession

Closes the specified client connection to a Microsoft Dynamics NAV Server instance.

Remove-NAVServerUser

Deletes a Microsoft Dynamics NAV user.

Remove-NAVServerUserPermissionSet

Removes a permission set from the list of permission sets that are assigned to a Microsoft Dynamics NAV user.

Remove-NAVTableConnection

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

Remove-NAVWebServerInstance

Removes an existing Microsoft Dynamics NAV Web Server instance.

Remove-NAVWebService

Removes the specified web services from the application that is mounted against the specified Microsoft Dynamics NAV Server instance.

Rename-NAVCompany

Renames a company in a Microsoft Dynamics NAV database.

Resume-NAVDataUpgrade

Resumes a suspended data upgrade process.

Set-NAVAddIn

Specifies the description, category, resource or resourcefile of an add-in that is registered in the system table 2000000069 Add-ins of the Microsoft Dynamics NAV database.

Set-NAVServerAppConfiguration

Specifies a setting in an application-specific configuration file for a Dynamics NAV Server instance.

Set-NAVServerConfiguration

Configures settings for a Microsoft Dynamics NAV Server instance.

Set-NAVServerInstance

Changes the service state of a Microsoft Dynamics NAV Server instance.

Set-NAVServerPermission

Changes the values for an existing permission set.

Set-NAVServerPermissionSet

Changes the Name field of a Microsoft Dynamics NAV permission set.

Set-NAVServerUser

Changes the configuration settings of an existing Microsoft Dynamics NAV user.

Set-NAVWebServerInstanceConfiguration

Changes configuration values for a named web server instance.

Start-NAVDataUpgrade

Starts the process for upgrading the data in the tenant database.

Stop-NAVDataUpgrade

Stops the data upgrade process that is currently running or suspended.

Sync-NAVTenant

Synchronizes a tenant database schema with an application database.

Update-NAVScheduledTaskList

Updates the application-wide list of scheduled tasks with the information from the tenant database.