Get-NAVDataFile
Gets information from a Business Central data file.
Get-NAVDataFile
[-FilePath] <String>
[-Force]
[-ProgressAction <ActionPreference>]
[<CommonParameters>]
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
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.
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 |
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 |
A common PowerShell parameter that determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider. Learn more.
Type: | ActionPreference |
Aliases: | proga |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |