Get-NAVDataFile
Gets information from a Business Central data file.
Syntax
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.
Type: | String |
Aliases: | FileName |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Force
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |