Remove-NAVApplicationObjectLanguage

Remove-NAVApplicationObjectLanguage

Deletes captions in the specified language from Microsoft Dynamics NAV application objects.

Syntax

Parameter Set: Default
Remove-NAVApplicationObjectLanguage [-Source] <String[]> [-Destination] <String> [[-LanguageId] <String[]> ] [-DevelopmentLanguageId <String> ] [-Force] [-PassThru] [-RemoveRedundant] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

Use the Remove-NAVApplicationObjectLanguage cmdlet to remove a language from a set of Microsoft Dynamics NAV application objects.

Parameters

-Destination<String>

Specifies the text file or folder where you want the updated objects to be put.


Aliases

none

Required?

true

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DevelopmentLanguageId<String>

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.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Force

Skips confirmation prompts when the cmdlet is run.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LanguageId<String[]>

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.


Aliases

none

Required?

false

Position?

4

Default Value

none

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.


Aliases

none

Required?

false

Position?

named

Default Value

none

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.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Source<String[]>

Specifies the text file or folder that contains the Microsoft Dynamics NAV application objects that you want to remove a language from. The cmdlet does not modify these text files.


Aliases

PSPath

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

This example removes all languages from the Microsoft Dynamics NAV application objects that are specified in the –Source parameter, TAB14.txt and PAG9.txt. The updated text files are put in the RESULT folder.


PS C:\> Remove-NAVApplicationObjectLanguage –Source TAB14.TXT, PAG9.TXT -Destination .\RESULT

Show: