-
Notifications
You must be signed in to change notification settings - Fork 102
Get D365Label
Get label from the label file from Dynamics 365 Finance & Operations environment
Get-D365Label [[-BinDir] <String>] [-LabelFileId] <String> [[-Language] <String[]>] [[-Name] <String>]
[<CommonParameters>]
Get label from the label file from the running the Dynamics 365 Finance & Operations instance
Get-D365Label -LabelFileId PRO
Shows the entire list of labels that are available from the PRO label file. The language is defaulted to "en-US".
Get-D365Label -LabelFileId PRO -Language da
Shows the entire list of labels that are available from the PRO label file. Shows only all "da" (Danish) labels.
Get-D365Label -LabelFileId PRO -Name "@PRO59*"
Shows the labels available from the PRO label file where the name fits the search "@PRO59*"
A result set example:
Name Value Language
@PRO59 Indicates if the type of the rebate value. en-US @PRO594 Pack consumption en-US @PRO595 Pack qty now being released to production in the BOM unit. en-US @PRO596 Pack unit. en-US @PRO597 Pack proposal for release in the packing unit. en-US @PRO590 Constant pack qty en-US @PRO593 Pack proposal release in BOM unit. en-US @PRO598 Pack quantity now being released for the production in the packing unit. en-US
Get-D365Label -LabelFileId PRO -Name "@PRO59*" -Language da,en-us
Shows the labels available from the PRO label file where the name fits the search "@PRO59*". Shows for both "da" (Danish) and en-US (English)
The path to the bin directory for the environment
Default path is the same as the AOS service PackagesLocalDirectory\bin
Default value is fetched from the current configuration on the machine
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: "$Script:BinDir\bin"
Accept pipeline input: False
Accept wildcard characters: False
Name / Id of the label "file" that you want to work against
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Name / string representation of the language / culture you want to work against
Default value is "en-US"
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: En-US
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Name of the label that you are looking for
Accepts wildcards for searching. E.g. -Name "@PRO59*"
Default value is "*" which will search for all labels
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: *
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: PackagesLocalDirectory, Servicing, Language, Labels, Label
Author: Mötz Jensen (@Splaxi)
This cmdlet is inspired by the work of "Pedro Tornich" (twitter: @ptornich)
All credits goes to him for showing how to extract these information
His github repository can be found here: https://github.com/ptornich/LabelFileGenerator
- 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