Get-Culture

Get information about regional settings e.g. current language and keyboard layout.

Syntax
      Get-Culture [CommonParameters]
key

   CommonParameters:
       -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable,
       -OutBuffer -OutVariable.

Example

This demonstrates drilling down and displaying the properties and sub-properties of the object.

PS C:\> $c = get-culture
PS C:\> $c | format-list -property *
PS C:\> $c.calendar
PS C:\> $c.datetimeformat
PS C:\> $c.datetimeformat.firstdayofweek

Return type:
System.Globalization.CultureInfo object

“The eternally incomprehensible thing about the world is that it is comprehensible” ~ Albert Einstein

Related:

Get-UICulture - Get ui culture information


© Copyright SS64.com 1999-2014
Some rights reserved