Share via


Administration Cmdlets for Microsoft Dynamics NAV

This topic provides an overview of the provided cmdlets.

Cmdlet Description

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

Exports license information from 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-NAVServerConfiguration

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

Get-NAVServerInstance

Obtains service details for the specified Microsoft Dynamics NAV Server instance.

Get-NAVServerPermission

Returns information about Microsoft Dynamics NAV permissions for the specified Microsoft Dynamics NAV Server instance, filtered by permission set ID, object type, and/or object ID.

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

Creates a new configuration with default values or replaces 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-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-NAVApplication

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

Remove-NAVCompany

Removes a company from a Microsoft Dynamics NAV 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 a client connection as identified by the ConnectionId.

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

Save-NAVTenantConfiguration

Saves the current tenant configuration on the specified Microsoft 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-NAVServerPermissionSet

Renames a Microsoft Dynamics NAV permission set.

Set-NAVServerUser

Renames an existing Microsoft Dynamics NAV user.

Sync-NAVTenant

Synchronizes a tenant database schema with an application database.