Get-SystemPreferredUILanguage

Returns the current System Preferred Language.

Syntax

Get-SystemPreferredUILanguage []

Description

Returns the language that is set as the System Preferred Language

Examples

Example 1

Get-SystemPreferredUILanguage

This command returns the language that's currently set as the System Preferred UI Language

Outputs

String