Get-NAVDataFile

Gets information from a Microsoft Dynamics NAV data file.

Syntax

Get-NAVDataFile
   [-FilePath] <String>
   [-Force]
   [<CommonParameters>]

Description

Use the Get-NAVDataFile cmdlet to extract information from a Microsoft Dynamics NAV data file. The file must have been exported from a Microsoft Dynamics NAV database and can contain company-specific data, global data, application data, and application objects. The following information is returned from the .navdata file:

ExportVersion
DatabaseVersion
Description
IncludeApplication
IncludeApplicationData
TenantId
IncludeGlobalData
CompanyName
ExportDateTime

Examples

EXAMPLE 1

Get-NAVDataFile -FilePath C:\file\Customer.navdata

This example extracts information from the specified file to show an overview of what is in the file (*.navdata).The extracted information includes a list of the companies and specifies if global data, application data, or application objects are included. If a description was added to the file when the data was exported, this description is also shown.

Required Parameters

-FilePath

Specifies the path and name of the file that you want to import data from. The file must be a .navdata file type that has been exported from Microsoft Dynamics NAV.

Type:String
Aliases:FileName
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-Force

Forces the command to run without asking for user confirmation.

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