ConvertTo D365Dacpac - FH-Inway/d365fo.tools GitHub Wiki
external help file: d365fo.tools-help.xml Module Name: d365fo.tools online version: https://msdyn365fo.wordpress.com/2019/12/18/cleanup-tempdb-tables-in-a-msdyn365fo-sandbox-environment/ schema: 2.0.0
Convert bacpac file to dacpac
ConvertTo-D365Dacpac [-Path] <String> [<CommonParameters>]
Convert bacpac file to dacpac
It will extract the origin.xml file from the file, and set the <ContainsExportedData>false</ContainsExportedData> for the file to be valid to be used as a dacpac file
ConvertTo-D365Dacpac -Path "C:\Temp\AxDB.bacpac"
This will convert the bacpac file into a dacpac file. It will extract the origin.xml file, update it and apply it to the file. It will rename the file into a dacpac.
The source file will be manipulated, so be careful to have an extra copy of the file.
Path to the bacpac file that you want to work against
It can also be a zip file
Type: String
Parameter Sets: (All)
Aliases: BacpacFile, File
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Tags: Bacpac, Servicing, Data, SqlPackage, Dacpac, Table
Author: Mötz Jensen (@Splaxi)