Get-NAVDataFile
Gets information from a Business Central data file.
Syntax
Default (Default)
Get-NAVDataFile
[-FilePath] <String>
[-Force]
[<CommonParameters>]
Description
Use the Get-NAVDataFile cmdlet to extract information from a Business Central data file. The file must have been exported from a Business Central 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.
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 Business Central.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | FileName |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Force
Forces the command to run without asking for user confirmation.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.