Invoke-NAVDatabaseConversion

Performs a technical upgrade of a database from a previous version of Microsoft Dynamics NAV.

Syntax

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

Description

Performs a technical upgrade of a database from a previous version of Microsoft Dynamics NAV.

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 Dynamics NAV database that will be created.

Type:String
Position:1
Default value:None
Required:True
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:.
Required:False
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)"
Required:False
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
Required:True
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
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

You cannot pipe input into this function.

Outputs

None