-
Notifications
You must be signed in to change notification settings - Fork 0
Get UdeDeveloperFile
Gets UDE developer files for a specified environment.
Get-UdeDeveloperFile [-EnvironmentId] <String> [[-Path] <String>] [[-Files] <String[]>] [-Download]
[-ClearSystemPackages] [-ProgressAction <ActionPreference>] [<CommonParameters>]
This function retrieves UDE developer files for a specified environment.
Get-UdeDeveloperFile -EnvironmentId "env-123"
This will retrieve the UDE developer files for the specified environment ID without downloading them.
Get-UdeDeveloperFile -EnvironmentId "env-123" -Download
This will download the UDE developer files for the specified environment ID to the default path.
Get-UdeDeveloperFile -EnvironmentId "env-123" -Download -Files "SystemMetadata","TraceParser"
This will download only the SystemMetadata and TraceParser UDE developer files for the specified environment ID to the default path.
Get-UdeDeveloperFile -EnvironmentId "env-123" -Download -ClearSystemPackages
This will download the UDE developer files for the specified environment ID to the default path. It will clear the existing PackagesLocalDirectory before extracting the SystemMetadata file, ensuring a clean state for the extraction.
The ID of the environment that you want to work against.
Supports wildcard patterns.
Can be either the environment name or the environment GUID.
Type: String
Parameter Sets: (All)
Aliases: PpacEnvId
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe path to the directory where the developer files will be saved.
Defaults to "C:\Temp\d365bap.tools\UdeDeveloperFiles".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: C:\Temp\d365bap.tools\UdeDeveloperFiles
Accept pipeline input: False
Accept wildcard characters: FalseThe types of developer files to retrieve.
Can be one or more of the following values: "All", "SystemMetadata", "FinOpsVsix22", "TraceParser", "CrossReference".
Defaults to "All".
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: All
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the function to download the developer files to the specified path.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the function to clear the existing PackagesLocalDirectory before extracting the SystemMetadata file.
Use with caution as it will delete existing files.
Can be useful when the extraction has failed previously and you want to ensure a clean state for the extraction.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Mötz Jensen (@Splaxi)