Invoke-NAVDatabaseConversion

Performs a technical upgrade of a database from a previous version of Business Central.

Syntax

Invoke-NAVDatabaseConversion
      [-DatabaseName] <String>
      [-DatabaseServer <String>]
      [-LogPath <String>]
      [-SuppressElevationCheck <String>]
      [<CommonParameters>]
Invoke-NAVDatabaseConversion
      [-DatabaseName] <String>
      [-DatabaseServer <String>]
      [-LogPath <String>]
      -Username <String>
      -Password <String>
      [-SuppressElevationCheck <String>]
      [<CommonParameters>]

Description

Performs a technical upgrade of a database from a previous version of Business Central.

Examples

EXAMPLE 1

Invoke-NAVDatabaseConversion MyApp

Perform the technical upgrade on a NAV database named MyApp.

EXAMPLE 2

Invoke-NAVDatabaseConversion MyApp -ServerName "TestComputer01\NAVDEMO"

Perform the technical upgrade on a NAV database named MyApp on TestComputer01\NAVDEMO Sql server .

Parameters

-DatabaseName

Specifies the name of the Business Central database that will be created.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DatabaseServer

Specifies the name of the SQL server instance on which you want to create the database. The default value is the default instance on the local host (.).

Type:String
Position:Named
Default value:.
Accept pipeline input:False
Accept wildcard characters:False
-LogPath

Specifies the log folder.

Type:String
Position:Named
Default value:"$Env:TEMP\NavIde\$([GUID]::NewGuid().GUID)"
Accept pipeline input:False
Accept wildcard characters:False
-Password

The password to use with the username parameter to authenticate to the database. If you do not specify a user name and password, then the command uses the credentials of the current Windows user to authenticate to the database.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SuppressElevationCheck

Specifies whether to check that the cmdlet is running in elevated mode (as an administrator). If not in elevated mode, you get a warning that proceeding might cause errors. You are given the option to continue or cancel.

No or 0 runs the check. No is the default setting.
Yes or 1 suppresses the check.

Type:String
Position:Named
Default value:No
Accept pipeline input:False
Accept wildcard characters:False
-Username

The user name to use to authenticate to the database. The user name must exist in the database. If you do not specify a user name and password, then the command uses the credentials of the current Windows user to authenticate to the database.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

You cannot pipe input into this function.

Outputs

None