Mount-NAVApplication

Mount-NAVApplication

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

Syntax

Parameter Set: __AllParameterSets
Mount-NAVApplication [-ServerInstance] <String> -DatabaseName <String> [-DatabaseInstance <DatabaseInstance> ] [-DatabaseServer <String> ] [-DoNotSaveConfiguration] [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

Use the Mount-NAVApplication cmdlet to mount a Microsoft Dynamics NAV database that contains the application tables against a Microsoft Dynamics NAV Server instance. You can only mount one Microsoft Dynamics NAV application at a time.

The database can be a dedicated application database, or a database that contains all Microsoft Dynamics NAV tables.

Parameters

-DatabaseInstance<DatabaseInstance>

Specifies the name of the SQL Server instance that hosts the database. You can also specify the instance in the DatabaseServer parameter, such as like MyServer\MyInstance.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DatabaseName<String>

Specifies the name of the application database that you want to mount against the Microsoft Dynamics NAV Server instance, such as 'NAV App'.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DatabaseServer<String>

Specifies the name of the database server that hosts the application database that you want to mount against the Microsoft Dynamics NAV Server instance.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DoNotSaveConfiguration

Specifies if the configuration must not be saved when the cmdlet has completed the task. If the parameter is not set, the configuration settings are automatically saved.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Force

Forces the command to run without asking for user confirmation.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServerInstance<String>

Specifies the Microsoft Dynamics NAV Server instance that you want to mount the application against, such as DynamicsNAV71. You can specify either the fully qualified name, such as 'MyServer$DynamicsNAV71', or the short name, such as 'DynamicsNAV71'.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.String

    You can pipe the value of the ServerInstance parameter as a string to this cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

    This cmdlet does not generate any output.

Examples

--------------------------EXAMPLE 1--------------------------

Description

-----------

This example mounts the Microsoft Dynamics NAV application on the DynamicsNAV71 server instance. The application is contained in the NAV App database, which is hosted on the dbserver1 database server.

PS C:\> Mount-NAVApplication DynamicsNAV71 -DatabaseServer dbserver1 -DatabaseName 'NAV App'