-
Notifications
You must be signed in to change notification settings - Fork 0
Export UdeModelLabel
Exports UDE model label files from PackagesLocalDirectory
Export-UdeModelLabel [-Model <String[]>] [-Language <String>] [-LabelFileId <String>] [-OutputPath <String>]
[-AsExcelOutput] [-ShowLabelDetails] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Export-UdeModelLabel [-Model <String[]>] [-Language <String>] [-LabelFileId <String>] [-OutputPath <String>]
[-AsExcelOutput] [-ShowLabelDetails] [-PackagesLocalDirectory <String[]>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Copies label files from the local packages into a versioned folder structure under the output path
Uses the active UDE configuration by default, or accepts PackagesLocalDirectory from Get-UdePackageLocalDirectory via the pipeline
Export-UdeModelLabel
Exports label files from the active UDE configuration. It will export all label files for all models. It will export the default language 'en-US'.
Export-UdeModelLabel -Model 'Foundation'
Exports matching labels from the active UDE configuration. It will export all label files for the 'Foundation' model. It will export the default language 'en-US'.
Export-UdeModelLabel -Model 'Foundation' -LabelFileId 'AccountsPayable'
Exports matching labels from the active UDE configuration. It will export only label files for the 'Foundation' model. It will export only the label file with the id 'AccountsPayable'. It will export the default language 'en-US'.
Get-UdePackageLocalDirectory -Version '10.0.2345*' | Export-UdeModelLabel
Exports label files for all matching local package versions. It will export all label files for all models. It will export the default language 'en-US'.
Module name(s) to include. Supports wildcards. Defaults to '*'
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: @('*')
Accept pipeline input: False
Accept wildcard characters: FalseLanguage code used to resolve the label descriptor files. Defaults to 'en-US'
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: En-US
Accept pipeline input: False
Accept wildcard characters: FalseLabel file id(s) to include. Supports wildcards. Defaults to '*'
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: *
Accept pipeline input: False
Accept wildcard characters: FalseRoot folder for exported labels. Each packages version is exported to a subfolder
Defaults to 'C:\temp\d365bap.tools\ModelLabels'
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: C:\temp\d365bap.tools\ModelLabels
Accept pipeline input: False
Accept wildcard characters: FalseInstruct the cmdlet to output all details directly to an Excel file
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the cmdlet to display the processed label details
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseOne or more PackagesLocalDirectory paths to export from. Supports pipeline input
Type: String[]
Parameter Sets: Pipeline
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
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)