Microsoft.Dynamics.Nav.Management

The Microsoft Dynamics NAV 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 Administration Shell when you install the Microsoft Dynamics NAV Server.

Note

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

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 Dynamics NAV Server instance.

Export-NAVApplication

Extracts the application tables in a Microsoft Dynamics NAV database to a separate database.

Export-NAVData

Exports data from a 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 Dynamics NAV database.

Get-NAVAddIn

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

Get-NAVApplication

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

Get-NAVCompany

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

Get-NAVDataFile

Gets information from a 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

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

Get-NAVServerConfiguration

Gets configuration settings for the specified Dynamics NAV Server instance.

Get-NAVServerInstance

Gets service details for the specified Dynamics NAV Server instance.

Get-NAVServerPermission

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

Get-NAVServerPermissionSet

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

Get-NAVServerSession

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

Get-NAVServerUser

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

Get-NAVServerUserPermissionSet

Gets permission set information for Dynamics NAV users.

Get-NAVTableConnection

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

Get-NAVTenant

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

Get-NAVWebService

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

Import-NAVConfigurationPackageFile

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

Import-NAVData

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

Import-NAVEncryptionKey

Imports an encryption key from a file to a 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 Dynamics NAV application against the specified server instance.

Mount-NAVTenant

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

New-NAVAddIn

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

New-NAVCompany

Creates a new Dynamics NAV company in the specified database.

New-NAVDatabase

Creates a new 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 Dynamics NAV Server instance.

New-NAVServerInstance

Creates a new Dynamics NAV Server instance.

New-NAVServerPermission

Adds a new permission to a permission set.

New-NAVServerPermissionSet

Creates a new permission set.

New-NAVServerUser

Creates a new Dynamics NAV user.

New-NAVServerUserPermissionSet

Assigns a permission set to a Dynamics NAV user.

New-NAVTableConnection

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

New-NAVWebService

Creates a new Dynamics NAV web service.

Remove-NAVAddIn

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

Remove-NAVApplication

Removes the tables that define the application from a Dynamics NAV database.

Remove-NAVCompany

Removes a company from a Dynamics NAV database.

Remove-NAVConfigurationPackageFile

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

Remove-NAVServerInstance

Removes a Dynamics NAV Server instance.

Remove-NAVServerPermission

Removes a permission from a permission set.

Remove-NAVServerPermissionSet

Removes a Dynamics NAV permission set.

Remove-NAVServerSession

Closes the specified client connection to a 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 Dynamics NAV user.

Remove-NAVTableConnection

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

Remove-NAVWebService

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

Rename-NAVCompany

Renames a company in a Dynamics NAV database.

Restart-NAVServerInstance

Restarts a Dynamics NAV Server instance.

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 Dynamics NAV database.

Set-NAVApplication

Sets the application version or application family fields in the application database connected to the specified Dynamics NAV Server instance.

Set-NAVServerAppConfiguration

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

Set-NAVServerConfiguration

Specifies settings for a Dynamics NAV Server instance.

Set-NAVServerInstance

Specifies the service state of a Dynamics NAV Server instance.

Set-NAVServerPermission

Specifies the values for an existing permission set.

Set-NAVServerPermissionSet

Specifies a new name for a Dynamics NAV permission set.

Set-NAVServerUser

Specifies configuration settings of an existing Dynamics NAV user.

Set-NAVTenant

Specifies settings for a tenant in a tenant database that is mounted on a Dynamics NAV Server instance.

Start-NAVDataUpgrade

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

Start-NAVServerInstance

Starts a Dynamics NAV Server instance.

Stop-NAVDataUpgrade

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

Stop-NAVServerInstance

Stops a Dynamics NAV Server instance.

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.