{"id":19954042,"url":"https://github.com/mkht/dscr_keyboardlayout","last_synced_at":"2025-07-06T19:05:55.807Z","repository":{"id":57670419,"uuid":"95683411","full_name":"mkht/DSCR_KeyboardLayout","owner":"mkht","description":"PowerShell functions \u0026 DSC Resource to add / remove Keyboard Layout (Input Locales).","archived":false,"fork":false,"pushed_at":"2018-10-06T14:36:29.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-09T22:33:34.829Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkht.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-28T15:19:09.000Z","updated_at":"2022-08-14T14:14:56.000Z","dependencies_parsed_at":"2022-09-26T20:41:03.951Z","dependency_job_id":null,"html_url":"https://github.com/mkht/DSCR_KeyboardLayout","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FDSCR_KeyboardLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FDSCR_KeyboardLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FDSCR_KeyboardLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FDSCR_KeyboardLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkht","download_url":"https://codeload.github.com/mkht/DSCR_KeyboardLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241382612,"owners_count":19953970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T01:18:46.787Z","updated_at":"2025-03-01T15:22:17.381Z","avatar_url":"https://github.com/mkht.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"DSCR_KeyboardLayout\r\n====\r\n\r\nPowerShell functions \u0026 DSC Resource to add / remove Keyboard Layout (Input Locales).\r\n\r\n## System Requirements\r\nThis module only supports Windows 7 \u0026 Windows 10\r\n\r\n## Install\r\nYou can install from [PowerShell Gallery](https://www.powershellgallery.com/packages/DSCR_KeyboardLayout/).\r\n```Powershell\r\nInstall-Module -Name DSCR_KeyboardLayout\r\n```\r\n\r\n## Resources\r\n* **cKeyboardLayout**\r\nPowerShell DSC Resource add / remove Keyboard Layouts.\r\n\r\n## Properties\r\n### cKeyboardLayout\r\n+ [string] **Ensure** (Write):\r\n    + Specify installation state of the keyboad layouts.\r\n    + The default value is `Present`. (`Present` or  `Absent`)\r\n\r\n+ [string] **KeyboardLayout** (Key):\r\n    + The input profiles are made up of a \"language identifier\" and a \"keyboard identifier\".\r\n    + For details and list of IDs, see [the documents of Microsoft](https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-input-locales-for-windows-language-packs)\r\n    + You can specify not only ID, but also friendly name of profile. For example, you can specify `\"fr-FR:French\"` instead of `\"040c:0000040c\"`.\r\n    + If you want to specify multiple layouts, separate them with a comma.\r\n\r\n+ [string] **Default** (Write):\r\n    + Specify a keyboard layout that will set to user's default layout.\r\n\r\n+ [boolean] **ClearExist** (Write):\r\n    + If you specify this property to `$true`, all existing keyboard layout will be removed.\r\n    + The default value is `$false`.\r\n\r\n+ [boolean] **CopySettingsToSystemAcct** (Write):\r\n    + Set up not only for users but also for system accounts.\r\n    + **[IMPORTANT]** This property is only on Windows 7.\r\n\r\n+ [boolean] **CopySettingsToDefaultUserAcct** (Write):\r\n    + Set up not only for users but also for default user account.\r\n    + **[IMPORTANT]** This property is only on Windows 7.\r\n\r\n## Examples\r\n+ **Example 1**: Install french keyboard layout\r\n```Powershell\r\nConfiguration Example1\r\n{\r\n    Import-DscResource -ModuleName DSCR_KeyboardLayout\r\n    cKeyboardLayout KeyboardLayout_Sample\r\n    {\r\n        KeyboardLayout = 'fr-FR:French'\r\n        PsDscRunAsCredential = $UserCredential\r\n    }\r\n}\r\n```\r\n\r\n+ **Example 2**: Clear existing layout \u0026 Add multiple layouts\r\n```Powershell\r\nConfiguration Example2\r\n{\r\n    Import-DscResource -ModuleName DSCR_KeyboardLayout\r\n    cKeyboardLayout KeyboardLayout_Sample\r\n    {\r\n        KeyboardLayout = 'ja:Microsoft IME (Japanese),en-US:United States-Dvorak,zh-Hant-TW:Microsoft Changjie'\r\n        Default = 'ja:Microsoft IME (Japanese)'\r\n        ClearExist = $true\r\n        PsDscRunAsCredential = $UserCredential\r\n    }\r\n}\r\n```\r\n\r\n## ChangeLog\r\n### 2.2.0\r\n+ We confirmed that this module works on Windows 10 version 1809\r\n+ Add new language ID `zh-Hans-CN` \u0026 `nqo` (only on Windows 10)\r\n\r\n### 2.1.3\r\n+ Bug fix [#4](https://github.com/mkht/DSCR_KeyboardLayout/issues/4)\r\n\r\n### 2.1.2\r\n+ Fix minor issue in module manifest\r\n\r\n### 2.1.0\r\n+ Windows 10 support\r\n+ Bug fix\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkht%2Fdscr_keyboardlayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkht%2Fdscr_keyboardlayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkht%2Fdscr_keyboardlayout/lists"}