Remove-NAVApplicationObjectLanguage
Deletes captions in the specified language from Business Central application objects.
Syntax
Remove-NAVApplicationObjectLanguage
[-Source] <String[]>
[-Destination] <String>
[[-LanguageId] <String[]>]
[-DevelopmentLanguageId <String>]
[-RemoveRedundant]
[-PassThru]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Use the Remove-NAVApplicationObjectLanguage cmdlet to remove a language from a set of Business Central application objects.
Examples
EXAMPLE 1
PS C:\>Remove-NAVApplicationObjectLanguage -Source TAB14.TXT, PAG9.TXT -Destination .\RESULT
This example removes all languages from the Business Central application objects that are specified in the -Source parameter, TAB14.txt and PAG9.txt. The updated text files are put in the RESULT folder.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Destination
Specifies the text file or folder where you want the updated objects to be put.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DevelopmentLanguageId
Specifies the base development language that must always be available for all objects. The default value is ENU. If you do not specify any language in the LanguageId parameter, all available languages are removed from the objects except the development language.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Skips confirmation prompts when the cmdlet is run.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LanguageId
Specifies the language or list of languages that you want to remove, such as "DEU". If you do not set this parameter, all available languages are removed except the language that is specified in the DevelopmentLanguageId parameter.
Type: | String[] |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Specifies if you want to return an object for each application object and language ID with their language text values.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoveRedundant
Specifies if you want to remove captions that are the same as the name of the element.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Source
Specifies the text file or folder that contains the Business Central application objects that you want to remove a language from. The cmdlet does not modify these text files.
Type: | String[] |
Aliases: | PSPath |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |