Search notes:

PowerShell cmdLet Get-Culture

get-culture returns a System.Globalization.CultureInfo object.

KeyboardLayoutId

The property KeyboardLayoutId (of the returned CultureInfo) is a number that identifes the current(?) culture's keyboard.
This number's eight-digit hexadecimal representation with leading zeroes is found in the registry under the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts. This key has the value Layout Text which provides a description for the keyboard layout id.
The following PowerShell script translates such a keyboard layout id to a text:
$kbdNum =  (get-culture).KeyboardLayoutId
$kbdHex = '{0:x8}' -f $kbdNum
$kbdReg =  get-itemProperty ('hklm:\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\' + $kbdHex )
$kbdTxt =  $kbdReg."Layout Text"

"Keyboard Layout ID $kbdNum ($kbdHex) corresponds to $kbdTxt"
Github repository about-PowerShell, path: /cmdlets/culture/get/KeyboardLayoutId.ps1

See also

Powershell command noun: culture

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1745560833, '3.139.55.240', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/command-inventory/noun/culture/get/index(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78