Stop-NAVDataUpgrade

Stop-NAVDataUpgrade

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

Syntax

Parameter Set: __AllParameterSets
Stop-NAVDataUpgrade [-ServerInstance] <String> [[-Tenant] <TenantId> ] [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

You cannot resume a data upgrade process after you have run the Stop-NavDataUpgrade cmdlet. Stop-NavDataUpgrade cmdlet will rollback changes that were made by upgrade function that were not completed. Changes made by completed upgrade functions will not be rolled back.

Parameters

-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 the application database and the tenant database are mounted against, such as DynamicsNAV90.

The default instance name is MicrosoftDynamicsNavServer. You can specify either the fully qualified name, such as 'MyServer$DynamicsNAV90', or the short name, such as 'DynamicsNAV90'.

You must include the name within single quotation marks.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Tenant<TenantId>

Specifies the ID of the tenant that you want to synchronize with the application, such as Tenant1.

This parameter is required unless the specified service instance is not configured to run multiple tenants.

Aliases

Id

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

True (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 pass the value of the ServerInstance and Tenant parameters as a string to this cmdlet.

Outputs

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

  • None

Examples

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

This example stops the currently running data upgrade process.

PS C:\> Stop-NAVDataUpgrade -ServerInstance DynamicsNAV90 -Force