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

Convert-NAVTenant

The shared schema feature is for use in conjunction only with Microsoft hosted offerings in Dynamics 365, is unsupported in Dynamics NAV, and may not be used outside Dynamics 365.

Copy-NAVCompany

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

Copy-NAVTenantData

The shared schema feature is for use in conjunction only with Microsoft hosted offerings in Dynamics 365, is unsupported in Dynamics NAV, and may not be used outside Dynamics 365.

Dismount-NAVTenant

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

Dismount-NAVTenantDatabase

The shared schema feature is for use in conjunction only with Microsoft hosted offerings in Dynamics 365, is unsupported in Dynamics NAV, and may not be used outside Dynamics 365.

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-NAVTenantDatabase

The shared schema feature is for use in conjunction only with Microsoft hosted offerings in Dynamics 365, is unsupported in Dynamics NAV, and may not be used outside Dynamics 365.

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.

Mount-NAVTenantDatabase

The shared schema feature is for use in conjunction only with Microsoft hosted offerings in Dynamics 365, is unsupported in Dynamics NAV, and may not be used outside Dynamics 365.

Move-NAVTenant

The shared schema feature is for use in conjunction only with Microsoft hosted offerings in Dynamics 365, is unsupported in Dynamics NAV, and may not be used outside Dynamics 365.

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-NAVTenant

The shared schema feature is for use in conjunction only with Microsoft hosted offerings in Dynamics 365, is unsupported in Dynamics NAV, and may not be used outside Dynamics 365.

New-NAVWebService

Creates a new Microsoft Dynamics NAV web service.

Register-NAVTenant

The shared schema feature is for use in conjunction only with Microsoft hosted offerings in Dynamics 365, is unsupported in Dynamics NAV, and may not be used outside Dynamics 365.

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-NAVTenant

The shared schema feature is for use in conjunction only with Microsoft hosted offerings in Dynamics 365, is unsupported in Dynamics NAV, and may not be used outside Dynamics 365.

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.

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 Microsoft 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

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-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.

Sync-NAVTenantDatabase

The shared schema feature is for use in conjunction only with Microsoft hosted offerings in Dynamics 365, is unsupported in Dynamics NAV, and may not be used outside Dynamics 365.

Test-NAVTenantDatabaseSchema

Checks for any errors in the tenant database schema.

Update-NAVScheduledTaskList

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