PackageDeployment Module Help

Package Deployment Module

Read-UserDefaultLanguage Cmdlet

Version 3.1.0.0

Read-UserDefaultLanguage

Synopsis

Get the language ID of the Windows system language of the current user.

Syntax

Read-UserDefaultLanguage [-ResultVariable] <String> [[-Format] <String>] [[-Context] <String>] [-ContinueOnError] [<CommonParameters>]

Description

Gets the Windows system language ID of the current user and stores it in a variable. The format of the returned ID can be specified.

Parameters

-ResultVariable <String>

A variable that collects the result.

Required

True

Position

0

Accepts pipeline input

False

-Format <String>

Specification of the output format.

Required

True

Position

1

Accepts pipeline input

False

-Context <String>

User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user.
UserPerService: User-related command, execution in Service context.
Computer: Execution under user account; logging in HKEY_CURRENT_MACHINE, i.e. for the computer.
ComputerPerService: Execution in service context; logging in HKEY_LOCAL_MACHINE, i.e. for the computer.

Required

False

Position

2

Accepts pipeline input

False

-ContinueOnError <SwitchParameter>

Continues script execution in spite of errors in the respective command

Required

False

Position

Named

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".