-
Notifications
You must be signed in to change notification settings - Fork 102
Get D365PackageBundleDetail
Get the details from an axscdppkg file
Get-D365PackageBundleDetail [-Path] <String> [[-ExtractionPath] <String>] [[-KB] <String>] [[-Hotfix] <String>]
[-Traverse] [-KeepFiles] [-IncludeRawManifest] [<CommonParameters>]
Get the details from an axscdppkg file by extracting it like a zip file.
Capable of extracting the manifest details from the inner packages as well
Get-D365PackageBundleDetail -Path "c:\temp\HotfixPackageBundle.axscdppkg" -Traverse
This will extract all the content from the "HotfixPackageBundle.axscdppkg" file and extract all inner packages. For each inner package it will find the manifest file and fetch the KB numbers. The raw manifest file content is included to be analyzed.
Get-D365PackageBundleDetail -Path "c:\temp\HotfixPackageBundle.axscdppkg" -ExtractionPath C:\Temp\20180905 -Traverse -KeepFiles
This will extract all the content from the "HotfixPackageBundle.axscdppkg" file and extract all inner packages. It will extract the content into C:\Temp\20180905 and keep the files after completion.
Get-D365PackageBundleDetail -Path C:\temp\HotfixPackageBundle.axscdppkg -Traverse -IncludeRawManifest
This is an advanced scenario.
This will traverse the "HotfixPackageBundle.axscdppkg" file and will include the raw manifest file details in the output.
Get-D365PackageBundleDetail -Path C:\temp\HotfixPackageBundle.axscdppkg -Traverse -IncludeRawManifest | ForEach-Object {$_.RawManifest | Out-File "C:\temp\$($_.PackageId).txt"}
This is an advanced scenario.
This will traverse the "HotfixPackageBundle.axscdppkg" file and save the manifest files into c:\temp. Everything else is omitted and cleaned up.
Path to the axscdppkg file you want to analyze
Type: String
Parameter Sets: (All)
Aliases: File
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Path where you want the cmdlet to work with extraction of all the files
Default value is: C:\Users\Username\AppData\Local\Temp
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: ([System.IO.Path]::GetTempPath())
Accept pipeline input: False
Accept wildcard characters: False
KB number of the hotfix that you are looking for
Accepts wildcards for searching. E.g. -KB "4045*"
Default value is "*" which will search for all KB's
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
Package Id / Hotfix number the hotfix that you are looking for
Accepts wildcards for searching. E.g. -Hotfix "7045*"
Default value is "*" which will search for all hotfixes
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
Switch to instruct the cmdlet to traverse the inner packages and extract their details
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Switch to instruct the cmdlet to keep the files for further manual analyze
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Switch to instruct the cmdlet to include the raw content of the manifest file
Only works with the -Traverse option
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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: Hotfix, KB, Manifest, HotfixPackageBundle, axscdppkg, Package, Bundle, Deployable
Author: Mötz Jensen (@Splaxi)
- Install as a non-Administrator
- Install as a Administrator
- Import d365fo.tools module
- List available commands from d365fo.tools module
- Get help content for a command
- Start, Stop and List services
- Import users into the D365FO environment
- Import external users into the D365FO environment
- Enable users in the D365FO environment
- Update users in the D365FO environment
- Provision D365FO environment to new Azure AD tenant
- Import a bacpac file into a Tier1 environment
- List modules / models
- Compile module
- Install AzCopy
- Install SqlPackage
- Install Nuget
- Speed up LCS download via AzCopy
- Download latest bacpac from LCS via AzCopy
- Register NuGet source
- Configure Azure Logic App
- Fix AzureStorageConfig
- Run a runnable class
- Update users in environment
- Work with Azure Storage Account
- Work with packages, resource label files, language and lables
- Working with the different D365 services