Get-NAVDataFile

Get-NAVDataFile

Gets information from a Microsoft Dynamics NAV data file.

Syntax

Parameter Set: Default
Get-NAVDataFile [-FileName] <String> [-Force] [ <CommonParameters>]

Detailed 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

Parameters

-FileName<String>

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

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

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

<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.

Outputs

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

Examples

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

Description

-----------

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.

PS C:\> Get-NAVDataFile -FileName C:\file\Customer.navdata