Browse Source

Code refactoring

master
Dmitry Nefedov 11 months ago
parent
commit
80e433f152
  1. 70
      Wrapper/Config/config_Windows_10.json
  2. 104
      Wrapper/Localizations/de-DE/tooltip_Windows_10.json
  3. 6
      Wrapper/Localizations/de-DE/tooltip_Windows_11.json
  4. 104
      Wrapper/Localizations/en-US/tooltip_Windows_10.json
  5. 6
      Wrapper/Localizations/en-US/tooltip_Windows_11.json
  6. 104
      Wrapper/Localizations/ru-RU/tooltip_Windows_10.json
  7. 6
      Wrapper/Localizations/ru-RU/tooltip_Windows_11.json
  8. 12
      sophia_script_versions.json
  9. 6
      src/Sophia_Script_for_Windows_10/Functions.ps1
  10. 1
      src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1
  11. 1
      src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1
  12. 1
      src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1
  13. 1
      src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1
  14. 1
      src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1
  15. 1
      src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1
  16. 1
      src/Sophia_Script_for_Windows_10/Localizations/pl-PL/Sophia.psd1
  17. 1
      src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1
  18. 1
      src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1
  19. 1
      src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1
  20. 1
      src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1
  21. 1
      src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1
  22. 2
      src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1
  23. 165
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  24. 22
      src/Sophia_Script_for_Windows_10/Sophia.ps1
  25. 6
      src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1
  26. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1
  27. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1
  28. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1
  29. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1
  30. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1
  31. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1
  32. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pl-PL/Sophia.psd1
  33. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1
  34. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1
  35. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1
  36. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1
  37. 1
      src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1
  38. 2
      src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1
  39. 63
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  40. 6
      src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1
  41. 6
      src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1
  42. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1
  43. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1
  44. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1
  45. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1
  46. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1
  47. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1
  48. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pl-PL/Sophia.psd1
  49. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1
  50. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1
  51. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1
  52. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1
  53. 1
      src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1
  54. 2
      src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1
  55. 63
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  56. 6
      src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1
  57. 6
      src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1
  58. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1
  59. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1
  60. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1
  61. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1
  62. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1
  63. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1
  64. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pl-PL/Sophia.psd1
  65. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1
  66. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1
  67. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1
  68. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1
  69. 1
      src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1
  70. 2
      src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1
  71. 165
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  72. 22
      src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1
  73. 6
      src/Sophia_Script_for_Windows_11/Functions.ps1
  74. 2
      src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1
  75. 3
      src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1
  76. 2
      src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1
  77. 2
      src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1
  78. 2
      src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1
  79. 2
      src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1
  80. 2
      src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1
  81. 2
      src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1
  82. 2
      src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1
  83. 2
      src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1
  84. 2
      src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1
  85. 2
      src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1
  86. 2
      src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1
  87. 186
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  88. 23
      src/Sophia_Script_for_Windows_11/Sophia.ps1
  89. 6
      src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1
  90. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1
  91. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1
  92. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1
  93. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1
  94. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1
  95. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1
  96. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1
  97. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1
  98. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1
  99. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1
  100. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1

70
Wrapper/Config/config_Windows_10.json

@ -596,7 +596,7 @@
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "TaskViewButton",
"Function": "CopilotButton",
"Arg": {
"Zero": {
"Tag": "Hide"
@ -613,6 +613,23 @@
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "TaskViewButton",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Id": 319,
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "NewsInterests",
"Arg": {
"Zero": {
@ -626,7 +643,7 @@
"WindowsDefault": "One"
},
{
"Id": 319,
"Id": 320,
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
@ -643,7 +660,7 @@
"WindowsDefault": "One"
},
{
"Id": 320,
"Id": 321,
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
@ -660,7 +677,7 @@
"WindowsDefault": "One"
},
{
"Id": 321,
"Id": 322,
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
@ -677,7 +694,7 @@
"WindowsDefault": "One"
},
{
"Id": 322,
"Id": 323,
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
@ -694,7 +711,7 @@
"WindowsDefault": "One"
},
{
"Id": 323,
"Id": 324,
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
@ -711,7 +728,7 @@
"WindowsDefault": "One"
},
{
"Id": 324,
"Id": 325,
"Region": "UI & Personalization",
"Control": "chk",
"Required": "false",
@ -731,7 +748,7 @@
"WindowsDefault": ""
},
{
"Id": 325,
"Id": 326,
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
@ -751,7 +768,7 @@
"WindowsDefault": "Two"
},
{
"Id": 326,
"Id": 327,
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
@ -768,7 +785,7 @@
"WindowsDefault": "One"
},
{
"Id": 327,
"Id": 328,
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
@ -1643,6 +1660,23 @@
{
"Id": 536,
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "WindowsLatestUpdate",
"Arg": {
"Zero": {
"Tag": "Disable"
},
"One": {
"Tag": "Enable"
}
},
"Preset": "Zero",
"WindowsDefault": "Zero"
},
{
"Id": 537,
"Region": "System",
"Control": "chk",
"Required": "false",
"Function": "Export-Associations",
@ -1655,7 +1689,7 @@
"WindowsDefault": ""
},
{
"Id": 537,
"Id": 538,
"Region": "System",
"Control": "chk",
"Required": "false",
@ -1669,7 +1703,7 @@
"WindowsDefault": ""
},
{
"Id": 538,
"Id": 539,
"Region": "System",
"Control": "chk",
"Required": "false",
@ -1683,7 +1717,7 @@
"WindowsDefault": ""
},
{
"Id": 539,
"Id": 540,
"Region": "System",
"Control": "chk",
"Required": "false",
@ -1697,7 +1731,7 @@
"WindowsDefault": ""
},
{
"Id": 540,
"Id": 541,
"Region": "System",
"Control": "chk",
"Required": "false",
@ -1711,7 +1745,7 @@
"WindowsDefault": ""
},
{
"Id": 541,
"Id": 542,
"Region": "System",
"Control": "cmb",
"Required": "false",
@ -1728,7 +1762,7 @@
"WindowsDefault": "One"
},
{
"Id": 542,
"Id": 543,
"Region": "System",
"Control": "cmb",
"Required": "false",
@ -1745,7 +1779,7 @@
"WindowsDefault": "One"
},
{
"Id": 543,
"Id": 544,
"Region": "System",
"Control": "cmb",
"Required": "false",
@ -1762,7 +1796,7 @@
"WindowsDefault": "One"
},
{
"Id": 544,
"Id": 545,
"Region": "System",
"Control": "chk",
"Required": "false",

104
Wrapper/Localizations/de-DE/tooltip_Windows_10.json

@ -523,6 +523,21 @@
{
"Id": 317,
"Region": "UI & Personalization",
"Function": "CopilotButton",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Ausblenden der Schaltfläche Copilot in der Taskleiste."
},
"One": {
"Tag": "Show",
"ToolTip": "Zeigen Sie die Schaltfläche Copilot in der Taskleiste an (Standardeinstellung)."
}
}
},
{
"Id": 318,
"Region": "UI & Personalization",
"Function": "TaskViewButton",
"Arg": {
"Zero": {
@ -536,7 +551,7 @@
}
},
{
"Id": 318,
"Id": 319,
"Region": "UI & Personalization",
"Function": "NewsInterests",
"Arg": {
@ -551,7 +566,7 @@
}
},
{
"Id": 319,
"Id": 320,
"Region": "UI & Personalization",
"Function": "PeopleTaskbar",
"Arg": {
@ -566,7 +581,7 @@
}
},
{
"Id": 320,
"Id": 321,
"Region": "UI & Personalization",
"Function": "MeetNow",
"Arg": {
@ -581,7 +596,7 @@
}
},
{
"Id": 321,
"Id": 322,
"Region": "UI & Personalization",
"Function": "WindowsInkWorkspace",
"Arg": {
@ -596,7 +611,7 @@
}
},
{
"Id": 322,
"Id": 323,
"Region": "UI & Personalization",
"Function": "NotificationAreaIcons",
"Arg": {
@ -611,7 +626,7 @@
}
},
{
"Id": 323,
"Id": 324,
"Region": "UI & Personalization",
"Function": "SecondsInSystemClock",
"Arg": {
@ -626,7 +641,7 @@
}
},
{
"Id": 324,
"Id": 325,
"Region": "UI & Personalization",
"Function": "UnpinTaskbarShortcuts -Shortcuts",
"ToolTip": "Die Verknüpfungen \"Microsoft Edge\", \"Microsoft Store\" oder \"Mail\" von der Taskleiste lösen.",
@ -646,7 +661,7 @@
}
},
{
"Id": 325,
"Id": 326,
"Region": "UI & Personalization",
"Function": "ControlPanelView",
"Arg": {
@ -665,7 +680,7 @@
}
},
{
"Id": 326,
"Id": 327,
"Region": "UI & Personalization",
"Function": "WindowsColorMode",
"Arg": {
@ -680,7 +695,7 @@
}
},
{
"Id": 327,
"Id": 328,
"Region": "UI & Personalization",
"Function": "AppColorMode",
"Arg": {
@ -695,7 +710,7 @@
}
},
{
"Id": 328,
"Id": 329,
"Region": "UI & Personalization",
"Function": "NewAppInstalledNotification",
"Arg": {
@ -710,7 +725,7 @@
}
},
{
"Id": 329,
"Id": 330,
"Region": "UI & Personalization",
"Function": "FirstLogonAnimation",
"Arg": {
@ -725,7 +740,7 @@
}
},
{
"Id": 330,
"Id": 331,
"Region": "UI & Personalization",
"Function": "JPEGWallpapersQuality",
"Arg": {
@ -740,7 +755,7 @@
}
},
{
"Id": 331,
"Id": 332,
"Region": "UI & Personalization",
"Function": "TaskManagerWindow",
"Arg": {
@ -755,7 +770,7 @@
}
},
{
"Id": 332,
"Id": 333,
"Region": "UI & Personalization",
"Function": "ShortcutsSuffix",
"Arg": {
@ -770,7 +785,7 @@
}
},
{
"Id": 333,
"Id": 334,
"Region": "UI & Personalization",
"Function": "PrtScnSnippingTool",
"Arg": {
@ -785,7 +800,7 @@
}
},
{
"Id": 334,
"Id": 335,
"Region": "UI & Personalization",
"Function": "AppsLanguageSwitch",
"Arg": {
@ -800,7 +815,7 @@
}
},
{
"Id": 335,
"Id": 336,
"Region": "UI & Personalization",
"Function": "AeroShaking",
"Arg": {
@ -815,7 +830,7 @@
}
},
{
"Id": 336,
"Id": 337,
"Region": "UI & Personalization",
"Function": "Cursors",
"Arg": {
@ -834,7 +849,7 @@
}
},
{
"Id": 337,
"Id": 338,
"Region": "UI & Personalization",
"Function": "FolderGroupBy",
"Arg": {
@ -849,7 +864,7 @@
}
},
{
"Id": 338,
"Id": 339,
"Region": "UI & Personalization",
"Function": "NavigationPaneExpand",
"Arg": {
@ -864,7 +879,7 @@
}
},
{
"Id": 339,
"Id": 340,
"Region": "UI & Personalization",
"Function": "UserFolders",
"Arg": {
@ -1455,6 +1470,21 @@
{
"Id": 536,
"Region": "System",
"Function": "WindowsLatestUpdate",
"Arg": {
"Zero": {
"Tag": "Disable",
"ToolTip": "Holen Sie sich keine Windows-Updates, sobald sie für Ihr Gerät verfügbar sind (Standardeinstellung)."
},
"One": {
"Tag": "Enable",
"ToolTip": "Holen Sie sich Windows-Updates, sobald sie für Ihr Gerät verfügbar sind."
}
}
},
{
"Id": 537,
"Region": "System",
"Function": "Export-Associations",
"Arg": {
"Zero": {
@ -1464,7 +1494,7 @@
}
},
{
"Id": 537,
"Id": 538,
"Region": "System",
"Function": "Import-Associations",
"Arg": {
@ -1475,7 +1505,7 @@
}
},
{
"Id": 538,
"Id": 539,
"Region": "System",
"Function": "UninstallPCHealthCheck",
"Arg": {
@ -1486,7 +1516,7 @@
}
},
{
"Id": 539,
"Id": 540,
"Region": "System",
"Function": "InstallVCRedist",
"Arg": {
@ -1497,7 +1527,7 @@
}
},
{
"Id": 540,
"Id": 541,
"Region": "System",
"Function": "InstallDotNetRuntimes",
"Arg": {
@ -1508,7 +1538,7 @@
}
},
{
"Id": 541,
"Id": 542,
"Region": "System",
"Function": "RKNBypass",
"Arg": {
@ -1523,7 +1553,7 @@
}
},
{
"Id": 542,
"Id": 543,
"Region": "System",
"Function": "PreventEdgeShortcutCreation",
"Arg": {
@ -1538,7 +1568,7 @@
}
},
{
"Id": 543,
"Id": 544,
"Region": "System",
"Function": "SATADrivesRemovableMedia",
"Arg": {
@ -1553,7 +1583,7 @@
}
},
{
"Id": 544,
"Id": 545,
"Region": "System",
"Function": "Set-Association",
"Arg": {
@ -1563,8 +1593,8 @@
}
}
},
{
"Id": 545,
{
"Id": 546,
"Region": "System",
"Function": "ProgramPath",
"Arg": {
@ -1574,8 +1604,8 @@
}
}
},
{
"Id": 546,
{
"Id": 547,
"Region": "System",
"Function": "Extension",
"Arg": {
@ -1585,8 +1615,8 @@
}
}
},
{
"Id": 547,
{
"Id": 548,
"Region": "System",
"Function": "Icon",
"Arg": {
@ -1595,7 +1625,7 @@
"ToolTip": "Pfad zum Symbol."
}
}
},
},
{
"Id": 600,
"Region": "WSL",

6
Wrapper/Localizations/de-DE/tooltip_Windows_11.json

@ -1522,7 +1522,7 @@
}
}
},
{
{
"Id": 547,
"Region": "System",
"Function": "ProgramPath",
@ -1533,7 +1533,7 @@
}
}
},
{
{
"Id": 548,
"Region": "System",
"Function": "Extension",
@ -1544,7 +1544,7 @@
}
}
},
{
{
"Id": 549,
"Region": "System",
"Function": "Icon",

104
Wrapper/Localizations/en-US/tooltip_Windows_10.json

@ -523,6 +523,21 @@
{
"Id": 317,
"Region": "UI & Personalization",
"Function": "CopilotButton",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Hide Copilot button on the taskbar."
},
"One": {
"Tag": "Show",
"ToolTip": "Show Copilot button on the taskbar (default value)."
}
}
},
{
"Id": 318,
"Region": "UI & Personalization",
"Function": "TaskViewButton",
"Arg": {
"Zero": {
@ -536,7 +551,7 @@
}
},
{
"Id": 318,
"Id": 319,
"Region": "UI & Personalization",
"Function": "NewsInterests",
"Arg": {
@ -551,7 +566,7 @@
}
},
{
"Id": 319,
"Id": 320,
"Region": "UI & Personalization",
"Function": "PeopleTaskbar",
"Arg": {
@ -566,7 +581,7 @@
}
},
{
"Id": 320,
"Id": 321,
"Region": "UI & Personalization",
"Function": "MeetNow",
"Arg": {
@ -581,7 +596,7 @@
}
},
{
"Id": 321,
"Id": 322,
"Region": "UI & Personalization",
"Function": "WindowsInkWorkspace",
"Arg": {
@ -596,7 +611,7 @@
}
},
{
"Id": 322,
"Id": 323,
"Region": "UI & Personalization",
"Function": "NotificationAreaIcons",
"Arg": {
@ -611,7 +626,7 @@
}
},
{
"Id": 323,
"Id": 324,
"Region": "UI & Personalization",
"Function": "SecondsInSystemClock",
"Arg": {
@ -626,7 +641,7 @@
}
},
{
"Id": 324,
"Id": 325,
"Region": "UI & Personalization",
"Function": "UnpinTaskbarShortcuts -Shortcuts",
"ToolTip": "Unpin the \"Microsoft Edge\", \"Microsoft Store\", or \"Mail\" shortcuts from the taskbar",
@ -646,7 +661,7 @@
}
},
{
"Id": 325,
"Id": 326,
"Region": "UI & Personalization",
"Function": "ControlPanelView",
"Arg": {
@ -665,7 +680,7 @@
}
},
{
"Id": 326,
"Id": 327,
"Region": "UI & Personalization",
"Function": "WindowsColorMode",
"Arg": {
@ -680,7 +695,7 @@
}
},
{
"Id": 327,
"Id": 328,
"Region": "UI & Personalization",
"Function": "AppColorMode",
"Arg": {
@ -695,7 +710,7 @@
}
},
{
"Id": 328,
"Id": 329,
"Region": "UI & Personalization",
"Function": "NewAppInstalledNotification",
"Arg": {
@ -710,7 +725,7 @@
}
},
{
"Id": 329,
"Id": 330,
"Region": "UI & Personalization",
"Function": "FirstLogonAnimation",
"Arg": {
@ -725,7 +740,7 @@
}
},
{
"Id": 330,
"Id": 331,
"Region": "UI & Personalization",
"Function": "JPEGWallpapersQuality",
"Arg": {
@ -740,7 +755,7 @@
}
},
{
"Id": 331,
"Id": 332,
"Region": "UI & Personalization",
"Function": "TaskManagerWindow",
"Arg": {
@ -755,7 +770,7 @@
}
},
{
"Id": 332,
"Id": 333,
"Region": "UI & Personalization",
"Function": "ShortcutsSuffix",
"Arg": {
@ -770,7 +785,7 @@
}
},
{
"Id": 333,
"Id": 334,
"Region": "UI & Personalization",
"Function": "PrtScnSnippingTool",
"Arg": {
@ -785,7 +800,7 @@
}
},
{
"Id": 334,
"Id": 335,
"Region": "UI & Personalization",
"Function": "AppsLanguageSwitch",
"Arg": {
@ -800,7 +815,7 @@
}
},
{
"Id": 335,
"Id": 336,
"Region": "UI & Personalization",
"Function": "AeroShaking",
"Arg": {
@ -815,7 +830,7 @@
}
},
{
"Id": 336,
"Id": 337,
"Region": "UI & Personalization",
"Function": "Cursors",
"Arg": {
@ -834,7 +849,7 @@
}
},
{
"Id": 337,
"Id": 338,
"Region": "UI & Personalization",
"Function": "FolderGroupBy",
"Arg": {
@ -849,7 +864,7 @@
}
},
{
"Id": 338,
"Id": 339,
"Region": "UI & Personalization",
"Function": "NavigationPaneExpand",
"Arg": {
@ -864,7 +879,7 @@
}
},
{
"Id": 339,
"Id": 340,
"Region": "UI & Personalization",
"Function": "UserFolders",
"Arg": {
@ -1455,6 +1470,21 @@
{
"Id": 536,
"Region": "System",
"Function": "WindowsLatestUpdate",
"Arg": {
"Zero": {
"Tag": "Disable",
"ToolTip": "Do not get Windows updates as soon as they're available for your device (default value)."
},
"One": {
"Tag": "Enable",
"ToolTip": "Get Windows updates as soon as they're available for your device."
}
}
},
{
"Id": 537,
"Region": "System",
"Function": "Export-Associations",
"Arg": {
"Zero": {
@ -1464,7 +1494,7 @@
}
},
{
"Id": 537,
"Id": 538,
"Region": "System",
"Function": "Import-Associations",
"Arg": {
@ -1475,7 +1505,7 @@
}
},
{
"Id": 538,
"Id": 539,
"Region": "System",
"Function": "UninstallPCHealthCheck",
"Arg": {
@ -1486,7 +1516,7 @@
}
},
{
"Id": 539,
"Id": 540,
"Region": "System",
"Function": "InstallVCRedist",
"Arg": {
@ -1497,7 +1527,7 @@
}
},
{
"Id": 540,
"Id": 541,
"Region": "System",
"Function": "InstallDotNetRuntimes",
"Arg": {
@ -1508,7 +1538,7 @@
}
},
{
"Id": 541,
"Id": 542,
"Region": "System",
"Function": "RKNBypass",
"Arg": {
@ -1523,7 +1553,7 @@
}
},
{
"Id": 542,
"Id": 543,
"Region": "System",
"Function": "PreventEdgeShortcutCreation",
"Arg": {
@ -1538,7 +1568,7 @@
}
},
{
"Id": 543,
"Id": 544,
"Region": "System",
"Function": "SATADrivesRemovableMedia",
"Arg": {
@ -1553,7 +1583,7 @@
}
},
{
"Id": 544,
"Id": 545,
"Region": "System",
"Function": "Set-Association",
"Arg": {
@ -1563,8 +1593,8 @@
}
}
},
{
"Id": 545,
{
"Id": 546,
"Region": "System",
"Function": "ProgramPath",
"Arg": {
@ -1574,8 +1604,8 @@
}
}
},
{
"Id": 546,
{
"Id": 547,
"Region": "System",
"Function": "Extension",
"Arg": {
@ -1585,8 +1615,8 @@
}
}
},
{
"Id": 547,
{
"Id": 548,
"Region": "System",
"Function": "Icon",
"Arg": {
@ -1595,7 +1625,7 @@
"ToolTip": "Path to icon."
}
}
},
},
{
"Id": 600,
"Region": "WSL",

6
Wrapper/Localizations/en-US/tooltip_Windows_11.json

@ -1522,7 +1522,7 @@
}
}
},
{
{
"Id": 547,
"Region": "System",
"Function": "ProgramPath",
@ -1533,7 +1533,7 @@
}
}
},
{
{
"Id": 548,
"Region": "System",
"Function": "Extension",
@ -1544,7 +1544,7 @@
}
}
},
{
{
"Id": 549,
"Region": "System",
"Function": "Icon",

104
Wrapper/Localizations/ru-RU/tooltip_Windows_10.json

@ -523,6 +523,21 @@
{
"Id": 317,
"Region": "UI & Personalization",
"Function": "CopilotButton",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Скрыть кнопку Copilot с панели задач."
},
"One": {
"Tag": "Show",
"ToolTip": "Отобразить кнопку Copilot на панели задач (значение по умолчанию)."
}
}
},
{
"Id": 318,
"Region": "UI & Personalization",
"Function": "TaskViewButton",
"Arg": {
"Zero": {
@ -536,7 +551,7 @@
}
},
{
"Id": 318,
"Id": 319,
"Region": "UI & Personalization",
"Function": "NewsInterests",
"Arg": {
@ -551,7 +566,7 @@
}
},
{
"Id": 319,
"Id": 320,
"Region": "UI & Personalization",
"Function": "PeopleTaskbar",
"Arg": {
@ -566,7 +581,7 @@
}
},
{
"Id": 320,
"Id": 321,
"Region": "UI & Personalization",
"Function": "MeetNow",
"Arg": {
@ -581,7 +596,7 @@
}
},
{
"Id": 321,
"Id": 322,
"Region": "UI & Personalization",
"Function": "WindowsInkWorkspace",
"Arg": {
@ -596,7 +611,7 @@
}
},
{
"Id": 322,
"Id": 323,
"Region": "UI & Personalization",
"Function": "SecondsInSystemClock",
"Arg": {
@ -611,7 +626,7 @@
}
},
{
"Id": 323,
"Id": 324,
"Region": "UI & Personalization",
"Function": "NotificationAreaIcons",
"Arg": {
@ -626,7 +641,7 @@
}
},
{
"Id": 324,
"Id": 325,
"Region": "UI & Personalization",
"Function": "UnpinTaskbarShortcuts -Shortcuts",
"ToolTip": "Открепить ярлыки \"Microsoft Edge\", \"Microsoft Store\" или \"Почта\" от панели задач",
@ -646,7 +661,7 @@
}
},
{
"Id": 325,
"Id": 326,
"Region": "UI & Personalization",
"Function": "ControlPanelView",
"Arg": {
@ -665,7 +680,7 @@
}
},
{
"Id": 326,
"Id": 327,
"Region": "UI & Personalization",
"Function": "WindowsColorMode",
"Arg": {
@ -680,7 +695,7 @@
}
},
{
"Id": 327,
"Id": 328,
"Region": "UI & Personalization",
"Function": "AppColorMode",
"Arg": {
@ -695,7 +710,7 @@
}
},
{
"Id": 328,
"Id": 329,
"Region": "UI & Personalization",
"Function": "NewAppInstalledNotification",
"Arg": {
@ -710,7 +725,7 @@
}
},
{
"Id": 329,
"Id": 330,
"Region": "UI & Personalization",
"Function": "FirstLogonAnimation",
"Arg": {
@ -725,7 +740,7 @@
}
},
{
"Id": 330,
"Id": 331,
"Region": "UI & Personalization",
"Function": "JPEGWallpapersQuality",
"Arg": {
@ -740,7 +755,7 @@
}
},
{
"Id": 331,
"Id": 332,
"Region": "UI & Personalization",
"Function": "TaskManagerWindow",
"Arg": {
@ -755,7 +770,7 @@
}
},
{
"Id": 332,
"Id": 333,
"Region": "UI & Personalization",
"Function": "ShortcutsSuffix",
"Arg": {
@ -770,7 +785,7 @@
}
},
{
"Id": 333,
"Id": 334,
"Region": "UI & Personalization",
"Function": "PrtScnSnippingTool",
"Arg": {
@ -785,7 +800,7 @@
}
},
{
"Id": 334,
"Id": 335,
"Region": "UI & Personalization",
"Function": "AppsLanguageSwitch",
"Arg": {
@ -800,7 +815,7 @@
}
},
{
"Id": 335,
"Id": 336,
"Region": "UI & Personalization",
"Function": "AeroShaking",
"Arg": {
@ -815,7 +830,7 @@
}
},
{
"Id": 336,
"Id": 337,
"Region": "UI & Personalization",
"Function": "Cursors",
"Arg": {
@ -834,7 +849,7 @@
}
},
{
"Id": 337,
"Id": 338,
"Region": "UI & Personalization",
"Function": "FolderGroupBy",
"Arg": {
@ -849,7 +864,7 @@
}
},
{
"Id": 338,
"Id": 339,
"Region": "UI & Personalization",
"Function": "NavigationPaneExpand",
"Arg": {
@ -864,7 +879,7 @@
}
},
{
"Id": 339,
"Id": 340,
"Region": "UI & Personalization",
"Function": "UserFolders",
"Arg": {
@ -1455,6 +1470,21 @@
{
"Id": 536,
"Region": "System",
"Function": "WindowsLatestUpdate",
"Arg": {
"Zero": {
"Tag": "Disable",
"ToolTip": "Не получать последние обновления, как только они будут доступны (значение по умолчанию)."
},
"One": {
"Tag": "Enable",
"ToolTip": "Получайте последние обновления, как только они будут доступны."
}
}
},
{
"Id": 537,
"Region": "System",
"Function": "Export-Associations",
"Arg": {
"Zero": {
@ -1464,7 +1494,7 @@
}
},
{
"Id": 537,
"Id": 538,
"Region": "System",
"Function": "Import-Associations",
"Arg": {
@ -1475,7 +1505,7 @@
}
},
{
"Id": 538,
"Id": 539,
"Region": "System",
"Function": "UninstallPCHealthCheck",
"Arg": {
@ -1486,7 +1516,7 @@
}
},
{
"Id": 539,
"Id": 540,
"Region": "System",
"Function": "InstallVCRedist",
"Arg": {
@ -1497,7 +1527,7 @@
}
},
{
"Id": 540,
"Id": 541,
"Region": "System",
"Function": "InstallDotNetRuntimes",
"Arg": {
@ -1508,7 +1538,7 @@
}
},
{
"Id": 541,
"Id": 542,
"Region": "System",
"Function": "RKNBypass",
"Arg": {
@ -1523,7 +1553,7 @@
}
},
{
"Id": 542,
"Id": 543,
"Region": "System",
"Function": "PreventEdgeShortcutCreation",
"Arg": {
@ -1538,7 +1568,7 @@
}
},
{
"Id": 543,
"Id": 544,
"Region": "System",
"Function": "SATADrivesRemovableMedia",
"Arg": {
@ -1553,7 +1583,7 @@
}
},
{
"Id": 544,
"Id": 545,
"Region": "System",
"Function": "Set-Association",
"Arg": {
@ -1563,8 +1593,8 @@
}
}
},
{
"Id": 545,
{
"Id": 546,
"Region": "System",
"Function": "ProgramPath",
"Arg": {
@ -1574,8 +1604,8 @@
}
}
},
{
"Id": 546,
{
"Id": 547,
"Region": "System",
"Function": "Extension",
"Arg": {
@ -1585,8 +1615,8 @@
}
}
},
{
"Id": 547,
{
"Id": 548,
"Region": "System",
"Function": "Icon",
"Arg": {
@ -1595,7 +1625,7 @@
"ToolTip": "Путь до значка."
}
}
},
},
{
"Id": 600,
"Region": "WSL",

6
Wrapper/Localizations/ru-RU/tooltip_Windows_11.json

@ -1522,7 +1522,7 @@
}
}
},
{
{
"Id": 547,
"Region": "System",
"Function": "ProgramPath",
@ -1533,7 +1533,7 @@
}
}
},
{
{
"Id": 548,
"Region": "System",
"Function": "Extension",
@ -1544,7 +1544,7 @@
}
}
},
{
{
"Id": 549,
"Region": "System",
"Function": "Icon",

12
sophia_script_versions.json

@ -1,9 +1,9 @@
{
"Sophia_Script_Windows_10_PowerShell_5_1": "5.17.7",
"Sophia_Script_Windows_10_PowerShell_7": "5.17.7",
"Sophia_Script_Windows_10_LTSC2019": "5.7.7",
"Sophia_Script_Windows_10_LTSC2021": "5.17.7",
"Sophia_Script_Windows_11_PowerShell_5_1": "6.5.7",
"Sophia_Script_Windows_11_PowerShell_7": "6.5.7",
"Sophia_Script_Windows_10_PowerShell_5_1": "5.17.8",
"Sophia_Script_Windows_10_PowerShell_7": "5.17.8",
"Sophia_Script_Windows_10_LTSC2019": "5.7.8",
"Sophia_Script_Windows_10_LTSC2021": "5.17.8",
"Sophia_Script_Windows_11_PowerShell_5_1": "6.5.8",
"Sophia_Script_Windows_11_PowerShell_7": "6.5.8",
"Sophia_Script_Wrapper": "2.6.12"
}

6
src/Sophia_Script_for_Windows_10/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v5.17.7
Date: 22.10.2023
Version: v5.17.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.17.7 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.17.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

1
src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Haben Sie alle Funktionen in der vor
WindowsComponentBroken = {0} defekt oder aus dem Betriebssystem entfernt.
UpdateDefender = Die Microsoft Defender-Definitionen sind veraltet. Führen Sie Windows Update aus und versuchen Sie es erneut.
ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert.
InitialActionsCheckFailed = Die Funktion "InitialActions" kann nicht aus der Voreinstellungsdatei {0} geladen werden.
ScheduledTasks = Geplante Aufgaben
OneDriveUninstalling = OneDrive deinstallieren...
OneDriveInstalling = OneDrive installieren...

1
src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Have you customized every function i
WindowsComponentBroken = {0} broken or removed from the OS.
UpdateDefender = Microsoft Defender definitions are out-of-date. Run Windows Update and try again.
ControlledFolderAccessDisabled = Controlled folder access disabled.
InitialActionsCheckFailed = "InitialActions" function cannot be loaded from the {0} preset file.
ScheduledTasks = Scheduled tasks
OneDriveUninstalling = Uninstalling OneDrive...
OneDriveInstalling = Installing OneDrive...

1
src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = ¿Ha personalizado todas las funcion
WindowsComponentBroken = {0} dañado o eliminado del sistema operativo.
UpdateDefender = Las definiciones de Microsoft Defender no están actualizadas. Ejecute Windows Update y vuelva a intentarlo.
ControlledFolderAccessDisabled = Acceso a la carpeta controlada deshabilitado.
InitialActionsCheckFailed = La función "InitialActions" no se puede cargar desde el archivo de preajuste {0}.
ScheduledTasks = Tareas programadas
OneDriveUninstalling = Desinstalar OneDrive...
OneDriveInstalling = Instalación de OneDrive...

1
src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Avez-vous personnalisé chaque fonct
WindowsComponentBroken = {0} cassé ou supprimé du système d'exploitation.
UpdateDefender = Les définitions de Microsoft Defender ne sont pas à jour. Exécutez Windows Update et réessayez.
ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé.
InitialActionsCheckFailed = La fonction "InitialActions" ne peut pas être chargée à partir du fichier de présélection {0}.
ScheduledTasks = Tâches planifiées
OneDriveUninstalling = Désinstalltion de OneDrive...
OneDriveInstalling = Installation de OneDrive...

1
src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Személyre szabott minden opciót a
WindowsComponentBroken = A {0} elromlott vagy eltávolították az operációs rendszerből.
UpdateDefender = A Microsoft Defender definíciói elavultak. Futtassa a Windows Update programot, és próbálja meg újra.
ControlledFolderAccessDisabled = Vezérelt mappához való hozzáférés kikapcsolva.
InitialActionsCheckFailed = Az "InitialActions" funkció nem tölthető be a {0} előre beállított fájlból.
ScheduledTasks = Ütemezett feladatok
OneDriveUninstalling = OneDrive eltávolítása...
OneDriveInstalling = OneDrive telepítése...

1
src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Sono state personalizzate tutte le f
WindowsComponentBroken = {0} rimosso dal sistema.
UpdateDefender = Le definizioni di Microsoft Defender non sono aggiornate. Eseguire Windows Update e riprovare.
ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata.
InitialActionsCheckFailed = La funzione "InitialActions" non può essere caricata dal file di preselezione {0}.
ScheduledTasks = Attività pianificate
OneDriveUninstalling = Disinstallazione di OneDrive...
OneDriveInstalling = Installazione di OneDrive...

1
src/Sophia_Script_for_Windows_10/Localizations/pl-PL/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Czy dostosowałeś funkcje w predefi
WindowsComponentBroken = {0} jest uszkodzony lub usunięty z systemu operacyjnego.
UpdateDefender = Definicje programu Microsoft Defender nieaktualne. Uruchom aktualizację systemu Windows i spróbuj ponownie.
ControlledFolderAccessDisabled = Kontrolowany dostęp do folderów został wyłączony.
InitialActionsCheckFailed = Funkcja "InitialActions" nie może zostać załadowana z pliku ustawień wstępnych {0}.
ScheduledTasks = Zaplanowane zadania
OneDriveUninstalling = Odinstalowywanie OneDrive...
OneDriveInstalling = Instalowanie OneDrive...

1
src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Você personalizou todas as funçõe
WindowsComponentBroken = {0} quebrado ou removido do sistema operativo.
UpdateDefender = As definições do Microsoft Defender estão desatualizadas. Execute o Windows Update e tente novamente.
ControlledFolderAccessDisabled = Acesso controlado a pasta desativada.
InitialActionsCheckFailed = A função "InitialActions" não pode ser carregada do arquivo de predefinição {0}.
ScheduledTasks = Tarefas agendadas
OneDriveUninstalling = Desinstalar OneDrive...
OneDriveInstalling = Instalar o OneDrive...

1
src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Вы настроили все фу
WindowsComponentBroken = {0} сломан или удален из ОС.
UpdateDefender = Определения Microsoft Defender устарели. Запустите обновление Windows.
ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен.
InitialActionsCheckFailed = Функция "InitialActions" не может быть загружена из пресет-файла {0}.
ScheduledTasks = Запланированные задания
OneDriveUninstalling = Удаление OneDrive...
OneDriveInstalling = OneDrive устанавливается...

1
src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Sophia Script'i çalıştırmadan ö
WindowsComponentBroken = {0} bozuk veya işletim sisteminden kaldırıldı.
UpdateDefender = Microsoft Defender tanımları güncel değil. Windows Update'i çalıştırın ve tekrar deneyin.
ControlledFolderAccessDisabled = Kontrollü klasör erişimi devre dışı bırakıldı.
InitialActionsCheckFailed = "InitialActions" fonksiyonu {0} ön ayar dosyasından yüklenemez.
ScheduledTasks = Zamanlanan görevler
OneDriveUninstalling = OneDrive kaldırılıyor...
OneDriveInstalling = OneDrive kuruluyor...

1
src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Ви налаштували всі
WindowsComponentBroken = {0} пошкоджено або видалено з ОС.
UpdateDefender = Визначення Microsoft Defender застаріли. Запустіть Windows Update і повторіть спробу.
ControlledFolderAccessDisabled = Контрольований доступ до папок вимкнений.
InitialActionsCheckFailed = Функція "InitialActions" не може бути завантажена з пресет-файлу {0}.
ScheduledTasks = Заплановані задачі
OneDriveUninstalling = Видалення OneDrive...
OneDriveInstalling = OneDrive встановлюється...

1
src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = 在运行Sophia Script之前,您
WindowsComponentBroken = {0} 损坏或从操作系统中删除
UpdateDefender = Microsoft Defender的定义已经过期运行Windows Update并再次尝试
ControlledFolderAccessDisabled = "受控文件夹访问"已禁用
InitialActionsCheckFailed = 无法从{0}预置文件中加载 "InitialActions "功能
ScheduledTasks = 计划任务
OneDriveUninstalling = 卸载OneDrive.....
OneDriveInstalling = OneDrive正在安装.....

2
src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.17.7'
ModuleVersion = '5.17.8'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'

165
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v5.17.7
Date: 22.10.2023
Version: v5.17.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -1042,49 +1042,6 @@ $($Type):$($Value)`n
Add-Content -Path $Path -Value $Policy -Encoding Default -Force
}
# Revert back removed or commented out "InitialActions" functions
function script:AdditionalActions
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
# $_.File has no EndsWith() method
$PresetName = ((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}
if (Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch)
{
# The string exists and is commented
if ((Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch).Line.StartsWith("#") -eq $true)
{
$Host.UI.RawUI.WindowTitle = "InitialActions | $($PresetName)"
# Calculate the string number to uncomment "InitialActions -Warning"
$LineNumber = (Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch).LineNumber
# Get data from the required line to replace it with "InitialActions -Warning"
$RequiredLine = (Get-Content -Path $PresetName -Encoding UTF8) | Where-Object -FilterScript {$_.ReadCount -eq $LineNumber}
(Get-Content -Path $PresetName -Encoding UTF8).Replace($RequiredLine, "InitialActions -Warning") | Set-Content -Path $PresetName -Encoding UTF8 -Force
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
}
else
{
$Host.UI.RawUI.WindowTitle = "InitialActions | $($PresetName)"
$ReadFile = Get-Content -Path $PresetName -Encoding UTF8
# Calculate the string number to add after "InitialActions -Warning"
$LineNumber = (Select-String -Path $PresetName -Pattern Import-LocalizedData).LineNumber
# Array of a new file: content before $LineNumber (including $LineNumber), new added string, the rest data of file
$UpdatedFile = @($ReadFile[0..($LineNumber - 1)], "`nInitialActions -Warning", $ReadFile[$LineNumber..($ReadFile.Length + 1)])
Set-Content -Path $PresetName -Value $UpdatedFile -Encoding UTF8 -Force
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
}
#endregion Additional function
#region Privacy & Telemetry
@ -1129,8 +1086,20 @@ function DiagTrackService
$Enable
)
# Revert back removed or commented out "InitialActions" functions
AdditionalActions
# Check whether "InitialActions" function was removed in preset file
if (-not ("WinAPI.GetStr" -as [type]))
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
# $_.File has no EndsWith() method
$PresetName = Split-Path -Path (((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}) -Leaf
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message ($Localization.InitialActionsCheckFailed -f $PresetName) -Verbose
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
switch ($PSCmdlet.ParameterSetName)
{
@ -3539,6 +3508,57 @@ function CortanaButton
}
}
<#
.SYNOPSIS
Copilot button on the taskbar
.PARAMETER Hide
Hide Copilot button on the taskbar
.PARAMETER Show
Show Copilot button on the taskbar
.EXAMPLE
CopilotButton -Hide
.EXAMPLE
CopilotButton -Show
.NOTES
Current user
#>
function CopilotButton
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Hide"
)]
[switch]
$Hide,
[Parameter(
Mandatory = $true,
ParameterSetName = "Show"
)]
[switch]
$Show
)
switch ($PSCmdlet.ParameterSetName)
{
"Hide"
{
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCopilotButton -PropertyType DWord -Value 0 -Force
}
"Show"
{
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCopilotButton -PropertyType DWord -Value 1 -Force
}
}
}
<#
.SYNOPSIS
Task view button on the taskbar
@ -9089,6 +9109,57 @@ function ActiveHours
}
}
<#
.SYNOPSIS
Windows latest updates
.PARAMETER Disable
Do not get Windows updates as soon as they're available for your device
.PARAMETER Enable
Get Windows updates as soon as they're available for your device
.EXAMPLE
WindowsLatestUpdate -Disable
.EXAMPLE
WindowsLatestUpdate -Enable
.NOTES
Machine-wide
#>
function WindowsLatestUpdate
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable
)
switch ($PSCmdlet.ParameterSetName)
{
"Disable"
{
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name IsContinuousInnovationOptedIn -PropertyType DWord -Value 0 -Force
}
"Enable"
{
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name IsContinuousInnovationOptedIn -PropertyType DWord -Value 1 -Force
}
}
}
<#
.SYNOPSIS
Register app, calculate hash, and associate with an extension with the "How do you want to open this" pop-up hidden

22
src/Sophia_Script_for_Windows_10/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 10"
Version: v5.17.7
Date: 22.10.2023
Version: v5.17.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -70,7 +70,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.17.7 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.17.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force
@ -386,6 +386,14 @@ CortanaButton -Hide
# Показать кнопку Кортаны на панели задач (значение по умолчанию)
# CortanaButton -Show
# Hide Copilot button on the taskbar
# Скрыть кнопку Copilot с панели задач
CopilotButton -Hide
# Show Copilot button on the taskbar (default value)
# Отобразить кнопку Copilot на панели задач (значение по умолчанию)
# CopilotButton -Show
# Hide the Task View button on the taskbar
# Скрыть кнопку Просмотра задач
TaskViewButton -Hide
@ -943,6 +951,14 @@ ActiveHours -Automatically
# Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)
# ActiveHours -Manually
# Do not get Windows updates as soon as they're available for your device (default value)
# Не получать последние обновления, как только они будут доступны (значение по умолчанию)
WindowsLatestUpdate -Disable
# Get Windows updates as soon as they're available for your device
# Получайте последние обновления, как только они будут доступны
# WindowsLatestUpdate -Enable
<#
Register app, calculate hash, and associate with an extension with the "How do you want to open this" pop-up hidden
Зарегистрировать приложение, вычислить хэш и ассоциировать его с расширением без всплывающего окна "Каким образом вы хотите открыть этот файл?"

6
src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v5.7.7
Date: 22.10.2023
Version: v5.7.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.7.7 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.7.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Haben Sie alle Funktionen in der vor
WindowsComponentBroken = {0} defekt oder aus dem Betriebssystem entfernt.
UpdateDefender = Die Microsoft Defender-Definitionen sind veraltet. Führen Sie Windows Update aus und versuchen Sie es erneut.
ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert.
InitialActionsCheckFailed = Die Funktion "InitialActions" kann nicht aus der Voreinstellungsdatei {0} geladen werden.
ScheduledTasks = Geplante Aufgaben
WindowsFeaturesTitle = Windows-Features
OptionalFeaturesTitle = Optionale Features

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Have you customized every function i
WindowsComponentBroken = {0} broken or removed from the OS.
UpdateDefender = Microsoft Defender definitions are out-of-date. Run Windows Update and try again.
ControlledFolderAccessDisabled = Controlled folder access disabled.
InitialActionsCheckFailed = "InitialActions" function cannot be loaded from the {0} preset file.
ScheduledTasks = Scheduled tasks
WindowsFeaturesTitle = Windows features
OptionalFeaturesTitle = Optional features

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = ¿Ha personalizado todas las funcion
WindowsComponentBroken = {0} dañado o eliminado del sistema operativo.
UpdateDefender = Las definiciones de Microsoft Defender no están actualizadas. Ejecute Windows Update y vuelva a intentarlo.
ControlledFolderAccessDisabled = Acceso a la carpeta controlada deshabilitado.
InitialActionsCheckFailed = La función "InitialActions" no se puede cargar desde el archivo de preajuste {0}.
ScheduledTasks = Tareas programadas
WindowsFeaturesTitle = Características de Windows
OptionalFeaturesTitle = Características opcionales

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Avez-vous personnalisé chaque fonct
WindowsComponentBroken = {0} cassé ou supprimé du système d'exploitation.
UpdateDefender = Les définitions de Microsoft Defender ne sont pas à jour. Exécutez Windows Update et réessayez.
ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé.
InitialActionsCheckFailed = La fonction "InitialActions" ne peut pas être chargée à partir du fichier de présélection {0}.
ScheduledTasks = Tâches planifiées
WindowsFeaturesTitle = Fonctionnalités
OptionalFeaturesTitle = Fonctionnalités optionnelles

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Személyre szabott minden opciót a
WindowsComponentBroken = A {0} elromlott vagy eltávolították az operációs rendszerből.
UpdateDefender = A Microsoft Defender definíciói elavultak. Futtassa a Windows Update programot, és próbálja meg újra.
ControlledFolderAccessDisabled = Vezérelt mappához való hozzáférés kikapcsolva.
InitialActionsCheckFailed = Az "InitialActions" funkció nem tölthető be a {0} előre beállított fájlból.
ScheduledTasks = Ütemezett feladatok
WindowsFeaturesTitle = Windows szolgáltatások
OptionalFeaturesTitle = Opcionális szolgáltatások

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Sono state personalizzate tutte le f
WindowsComponentBroken = {0} rimosso dal sistema.
UpdateDefender = Le definizioni di Microsoft Defender non sono aggiornate. Eseguire Windows Update e riprovare.
ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata.
InitialActionsCheckFailed = La funzione "InitialActions" non può essere caricata dal file di preselezione {0}.
ScheduledTasks = Attività pianificate
WindowsFeaturesTitle = Funzionalità di Windows
OptionalFeaturesTitle = Caratteristiche opzionali

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pl-PL/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Czy dostosowałeś funkcje w predefi
WindowsComponentBroken = {0} jest uszkodzony lub usunięty z systemu operacyjnego.
UpdateDefender = Definicje programu Microsoft Defender nieaktualne. Uruchom aktualizację systemu Windows i spróbuj ponownie.
ControlledFolderAccessDisabled = Kontrolowany dostęp do folderów został wyłączony.
InitialActionsCheckFailed = Funkcja "InitialActions" nie może zostać załadowana z pliku ustawień wstępnych {0}.
ScheduledTasks = Zaplanowane zadania
WindowsFeaturesTitle = Funkcje Windows
OptionalFeaturesTitle = Funkcje opcjonalne

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Você personalizou todas as funçõe
WindowsComponentBroken = {0} quebrado ou removido do sistema operativo.
UpdateDefender = As definições do Microsoft Defender estão desatualizadas. Execute o Windows Update e tente novamente.
ControlledFolderAccessDisabled = Acesso controlado a pasta desativada.
InitialActionsCheckFailed = A função "InitialActions" não pode ser carregada do arquivo de predefinição {0}.
ScheduledTasks = Tarefas agendadas
WindowsFeaturesTitle = Recursos do Windows
OptionalFeaturesTitle = Recursos opcionais

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Вы настроили все фу
WindowsComponentBroken = {0} сломан или удален из ОС.
UpdateDefender = Определения Microsoft Defender устарели. Запустите обновление Windows.
ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен.
InitialActionsCheckFailed = Функция "InitialActions" не может быть загружена из пресет-файла {0}.
ScheduledTasks = Запланированные задания
WindowsFeaturesTitle = Компоненты Windows
OptionalFeaturesTitle = Дополнительные компоненты

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Sophia Script'i çalıştırmadan ö
WindowsComponentBroken = {0} bozuk veya işletim sisteminden kaldırıldı.
UpdateDefender = Microsoft Defender tanımları güncel değil. Windows Update'i çalıştırın ve tekrar deneyin.
ControlledFolderAccessDisabled = Kontrollü klasör erişimi devre dışı bırakıldı.
InitialActionsCheckFailed = "InitialActions" fonksiyonu {0} ön ayar dosyasından yüklenemez.
ScheduledTasks = Zamanlanan görevler
WindowsFeaturesTitle = Características do Windows
OptionalFeaturesTitle = Opsiyonel özellikler

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Ви налаштували всі
WindowsComponentBroken = {0} пошкоджено або видалено з ОС.
UpdateDefender = Визначення Microsoft Defender застаріли. Запустіть Windows Update і повторіть спробу.
ControlledFolderAccessDisabled = Контрольований доступ до папок вимкнений.
InitialActionsCheckFailed = Функція "InitialActions" не може бути завантажена з пресет-файлу {0}.
ScheduledTasks = Заплановані задачі
WindowsFeaturesTitle = Компоненти Windows
OptionalFeaturesTitle = Додаткові компоненти

1
src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = 在运行Sophia Script之前,您
WindowsComponentBroken = {0} 损坏或从操作系统中删除
UpdateDefender = Microsoft Defender的定义已经过期运行Windows Update并再次尝试
ControlledFolderAccessDisabled = "受控文件夹访问"已禁用
InitialActionsCheckFailed = 无法从{0}预置文件中加载 "InitialActions "功能
ScheduledTasks = 计划任务
WindowsFeaturesTitle = Windows功能
OptionalFeaturesTitle = 可选功能

2
src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.7.7'
ModuleVersion = '5.7.8'
GUID = 'a36a65ca-70f9-43df-856c-3048fc5e7f01'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'

63
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v5.7.7
Date: 22.10.2023
Version: v5.7.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -916,49 +916,6 @@ $($Type):$($Value)`n
Add-Content -Path $Path -Value $Policy -Encoding Default -Force
}
# Revert back removed or commented out "InitialActions" functions
function script:AdditionalActions
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
# $_.File has no EndsWith() method
$PresetName = ((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}
if (Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch)
{
# The string exists and is commented
if ((Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch).Line.StartsWith("#") -eq $true)
{
$Host.UI.RawUI.WindowTitle = "InitialActions | $($PresetName)"
# Calculate the string number to uncomment "InitialActions -Warning"
$LineNumber = (Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch).LineNumber
# Get data from the required line to replace it with "InitialActions -Warning"
$RequiredLine = (Get-Content -Path $PresetName -Encoding UTF8) | Where-Object -FilterScript {$_.ReadCount -eq $LineNumber}
(Get-Content -Path $PresetName -Encoding UTF8).Replace($RequiredLine, "InitialActions -Warning") | Set-Content -Path $PresetName -Encoding UTF8 -Force
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
}
else
{
$Host.UI.RawUI.WindowTitle = "InitialActions | $($PresetName)"
$ReadFile = Get-Content -Path $PresetName -Encoding UTF8
# Calculate the string number to add after "InitialActions -Warning"
$LineNumber = (Select-String -Path $PresetName -Pattern Import-LocalizedData).LineNumber
# Array of a new file: content before $LineNumber (including $LineNumber), new added string, the rest data of file
$UpdatedFile = @($ReadFile[0..($LineNumber - 1)], "`nInitialActions -Warning", $ReadFile[$LineNumber..($ReadFile.Length + 1)])
Set-Content -Path $PresetName -Value $UpdatedFile -Encoding UTF8 -Force
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
}
#endregion Additional function
#region Privacy & Telemetry
@ -1000,8 +957,20 @@ function DiagTrackService
$Enable
)
# Revert back removed or commented out "InitialActions" functions
AdditionalActions
# Check whether "InitialActions" function was removed in preset file
if (-not ("WinAPI.GetStr" -as [type]))
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
# $_.File has no EndsWith() method
$PresetName = Split-Path -Path (((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}) -Leaf
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message ($Localization.InitialActionsCheckFailed -f $PresetName) -Verbose
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
switch ($PSCmdlet.ParameterSetName)
{

6
src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 10 LTSC 2019"
Version: v5.7.7
Date: 22.10.2023
Version: v5.7.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -70,7 +70,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.7.7 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.7.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v5.17.7
Date: 22.10.2023
Version: v5.17.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.17.7 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.17.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Haben Sie alle Funktionen in der vor
WindowsComponentBroken = {0} defekt oder aus dem Betriebssystem entfernt.
UpdateDefender = Die Microsoft Defender-Definitionen sind veraltet. Führen Sie Windows Update aus und versuchen Sie es erneut.
ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert.
InitialActionsCheckFailed = Die Funktion "InitialActions" kann nicht aus der Voreinstellungsdatei {0} geladen werden.
ScheduledTasks = Geplante Aufgaben
WindowsFeaturesTitle = Windows-Features
OptionalFeaturesTitle = Optionale Features

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Have you customized every function i
WindowsComponentBroken = {0} broken or removed from the OS.
UpdateDefender = Microsoft Defender definitions are out-of-date. Run Windows Update and try again.
ControlledFolderAccessDisabled = Controlled folder access disabled.
InitialActionsCheckFailed = "InitialActions" function cannot be loaded from the {0} preset file.
ScheduledTasks = Scheduled tasks
WindowsFeaturesTitle = Windows features
OptionalFeaturesTitle = Optional features

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = ¿Ha personalizado todas las funcion
WindowsComponentBroken = {0} dañado o eliminado del sistema operativo.
UpdateDefender = Las definiciones de Microsoft Defender no están actualizadas. Ejecute Windows Update y vuelva a intentarlo.
ControlledFolderAccessDisabled = Acceso a la carpeta controlada deshabilitado.
InitialActionsCheckFailed = La función "InitialActions" no se puede cargar desde el archivo de preajuste {0}.
ScheduledTasks = Tareas programadas
WindowsFeaturesTitle = Características de Windows
OptionalFeaturesTitle = Características opcionales

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Avez-vous personnalisé chaque fonct
WindowsComponentBroken = {0} cassé ou supprimé du système d'exploitation.
UpdateDefender = Les définitions de Microsoft Defender ne sont pas à jour. Exécutez Windows Update et réessayez.
ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé.
InitialActionsCheckFailed = La fonction "InitialActions" ne peut pas être chargée à partir du fichier de présélection {0}.
ScheduledTasks = Tâches planifiées
WindowsFeaturesTitle = Fonctionnalités
OptionalFeaturesTitle = Fonctionnalités optionnelles

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Személyre szabott minden opciót a
WindowsComponentBroken = A {0} elromlott vagy eltávolították az operációs rendszerből.
UpdateDefender = A Microsoft Defender definíciói elavultak. Futtassa a Windows Update programot, és próbálja meg újra.
ControlledFolderAccessDisabled = Vezérelt mappához való hozzáférés kikapcsolva.
InitialActionsCheckFailed = Az "InitialActions" funkció nem tölthető be a {0} előre beállított fájlból.
ScheduledTasks = Ütemezett feladatok
WindowsFeaturesTitle = Windows szolgáltatások
OptionalFeaturesTitle = Opcionális szolgáltatások

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Sono state personalizzate tutte le f
WindowsComponentBroken = {0} rimosso dal sistema.
UpdateDefender = Le definizioni di Microsoft Defender non sono aggiornate. Eseguire Windows Update e riprovare.
ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata.
InitialActionsCheckFailed = La funzione "InitialActions" non può essere caricata dal file di preselezione {0}.
ScheduledTasks = Attività pianificate
WindowsFeaturesTitle = Funzionalità di Windows
OptionalFeaturesTitle = Caratteristiche opzionali

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pl-PL/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Czy dostosowałeś funkcje w predefi
WindowsComponentBroken = {0} jest uszkodzony lub usunięty z systemu operacyjnego.
UpdateDefender = Definicje programu Microsoft Defender nieaktualne. Uruchom aktualizację systemu Windows i spróbuj ponownie.
ControlledFolderAccessDisabled = Kontrolowany dostęp do folderów został wyłączony.
InitialActionsCheckFailed = Funkcja "InitialActions" nie może zostać załadowana z pliku ustawień wstępnych {0}.
ScheduledTasks = Zaplanowane zadania
WindowsFeaturesTitle = Funkcje Windows
OptionalFeaturesTitle = Funkcje opcjonalne

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Você personalizou todas as funçõe
WindowsComponentBroken = {0} quebrado ou removido do sistema operativo.
UpdateDefender = As definições do Microsoft Defender estão desatualizadas. Execute o Windows Update e tente novamente.
ControlledFolderAccessDisabled = Acesso controlado a pasta desativada.
InitialActionsCheckFailed = A função "InitialActions" não pode ser carregada do arquivo de predefinição {0}.
ScheduledTasks = Tarefas agendadas
WindowsFeaturesTitle = Recursos do Windows
OptionalFeaturesTitle = Recursos opcionais

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Вы настроили все фу
WindowsComponentBroken = {0} сломан или удален из ОС.
UpdateDefender = Определения Microsoft Defender устарели. Запустите обновление Windows.
ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен.
InitialActionsCheckFailed = Функция "InitialActions" не может быть загружена из пресет-файла {0}.
ScheduledTasks = Запланированные задания
WindowsFeaturesTitle = Компоненты Windows
OptionalFeaturesTitle = Дополнительные компоненты

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Sophia Script'i çalıştırmadan ö
WindowsComponentBroken = {0} bozuk veya işletim sisteminden kaldırıldı.
UpdateDefender = Microsoft Defender tanımları güncel değil. Windows Update'i çalıştırın ve tekrar deneyin.
ControlledFolderAccessDisabled = Kontrollü klasör erişimi devre dışı bırakıldı.
InitialActionsCheckFailed = "InitialActions" fonksiyonu {0} ön ayar dosyasından yüklenemez.
ScheduledTasks = Zamanlanan görevler
WindowsFeaturesTitle = Características do Windows
OptionalFeaturesTitle = Opsiyonel özellikler

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Ви налаштували всі
WindowsComponentBroken = {0} пошкоджено або видалено з ОС.
UpdateDefender = Визначення Microsoft Defender застаріли. Запустіть Windows Update і повторіть спробу.
ControlledFolderAccessDisabled = Контрольований доступ до папок вимкнений.
InitialActionsCheckFailed = Функція "InitialActions" не може бути завантажена з пресет-файлу {0}.
ScheduledTasks = Заплановані задачі
WindowsFeaturesTitle = Компоненти Windows
OptionalFeaturesTitle = Додаткові компоненти

1
src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = 在运行Sophia Script之前,您
WindowsComponentBroken = {0} 损坏或从操作系统中删除
UpdateDefender = Microsoft Defender的定义已经过期运行Windows Update并再次尝试
ControlledFolderAccessDisabled = "受控文件夹访问"已禁用
InitialActionsCheckFailed = 无法从{0}预置文件中加载 "InitialActions "功能
ScheduledTasks = 计划任务
WindowsFeaturesTitle = Windows功能
OptionalFeaturesTitle = 可选功能

2
src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.17.7'
ModuleVersion = '5.17.8'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'

63
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v5.17.7
Date: 22.10.2023
Version: v5.17.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -916,49 +916,6 @@ $($Type):$($Value)`n
Add-Content -Path $Path -Value $Policy -Encoding Default -Force
}
# Revert back removed or commented out "InitialActions" functions
function script:AdditionalActions
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
# $_.File has no EndsWith() method
$PresetName = ((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}
if (Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch)
{
# The string exists and is commented
if ((Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch).Line.StartsWith("#") -eq $true)
{
$Host.UI.RawUI.WindowTitle = "InitialActions | $($PresetName)"
# Calculate the string number to uncomment "InitialActions -Warning"
$LineNumber = (Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch).LineNumber
# Get data from the required line to replace it with "InitialActions -Warning"
$RequiredLine = (Get-Content -Path $PresetName -Encoding UTF8) | Where-Object -FilterScript {$_.ReadCount -eq $LineNumber}
(Get-Content -Path $PresetName -Encoding UTF8).Replace($RequiredLine, "InitialActions -Warning") | Set-Content -Path $PresetName -Encoding UTF8 -Force
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
}
else
{
$Host.UI.RawUI.WindowTitle = "InitialActions | $($PresetName)"
$ReadFile = Get-Content -Path $PresetName -Encoding UTF8
# Calculate the string number to add after "InitialActions -Warning"
$LineNumber = (Select-String -Path $PresetName -Pattern Import-LocalizedData).LineNumber
# Array of a new file: content before $LineNumber (including $LineNumber), new added string, the rest data of file
$UpdatedFile = @($ReadFile[0..($LineNumber - 1)], "`nInitialActions -Warning", $ReadFile[$LineNumber..($ReadFile.Length + 1)])
Set-Content -Path $PresetName -Value $UpdatedFile -Encoding UTF8 -Force
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
}
#endregion Additional function
#region Privacy & Telemetry
@ -1000,8 +957,20 @@ function DiagTrackService
$Enable
)
# Revert back removed or commented out "InitialActions" functions
AdditionalActions
# Check whether "InitialActions" function was removed in preset file
if (-not ("WinAPI.GetStr" -as [type]))
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
# $_.File has no EndsWith() method
$PresetName = Split-Path -Path (((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}) -Leaf
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message ($Localization.InitialActionsCheckFailed -f $PresetName) -Verbose
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
switch ($PSCmdlet.ParameterSetName)
{

6
src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 10 LTSC 2021"
Version: v5.17.7
Date: 22.10.2023
Version: v5.17.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -70,7 +70,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.17.7 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.17.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v5.17.7
Date: 22.10.2023
Version: v5.17.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.17.7 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.17.8 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Haben Sie alle Funktionen in der vor
WindowsComponentBroken = {0} defekt oder aus dem Betriebssystem entfernt.
UpdateDefender = Die Microsoft Defender-Definitionen sind veraltet. Führen Sie Windows Update aus und versuchen Sie es erneut.
ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert.
InitialActionsCheckFailed = Die Funktion "InitialActions" kann nicht aus der Voreinstellungsdatei {0} geladen werden.
ScheduledTasks = Geplante Aufgaben
OneDriveUninstalling = OneDrive deinstallieren...
OneDriveInstalling = OneDrive installieren...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Have you customized every function i
WindowsComponentBroken = {0} broken or removed from the OS.
UpdateDefender = Microsoft Defender definitions are out-of-date. Run Windows Update and try again.
ControlledFolderAccessDisabled = Controlled folder access disabled.
InitialActionsCheckFailed = "InitialActions" function cannot be loaded from the {0} preset file.
ScheduledTasks = Scheduled tasks
OneDriveUninstalling = Uninstalling OneDrive...
OneDriveInstalling = Installing OneDrive...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = ¿Ha personalizado todas las funcion
WindowsComponentBroken = {0} dañado o eliminado del sistema operativo.
UpdateDefender = Las definiciones de Microsoft Defender no están actualizadas. Ejecute Windows Update y vuelva a intentarlo.
ControlledFolderAccessDisabled = Acceso a la carpeta controlada deshabilitado.
InitialActionsCheckFailed = La función "InitialActions" no se puede cargar desde el archivo de preajuste {0}.
ScheduledTasks = Tareas programadas
OneDriveUninstalling = Desinstalar OneDrive...
OneDriveInstalling = Instalación de OneDrive...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Avez-vous personnalisé chaque fonct
WindowsComponentBroken = {0} cassé ou supprimé du système d'exploitation.
UpdateDefender = Les définitions de Microsoft Defender ne sont pas à jour. Exécutez Windows Update et réessayez.
ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé.
InitialActionsCheckFailed = La fonction "InitialActions" ne peut pas être chargée à partir du fichier de présélection {0}.
ScheduledTasks = Tâches planifiées
OneDriveUninstalling = Désinstalltion de OneDrive...
OneDriveInstalling = Installation de OneDrive...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Személyre szabott minden opciót a
WindowsComponentBroken = A {0} elromlott vagy eltávolították az operációs rendszerből.
UpdateDefender = A Microsoft Defender definíciói elavultak. Futtassa a Windows Update programot, és próbálja meg újra.
ControlledFolderAccessDisabled = Vezérelt mappához való hozzáférés kikapcsolva.
InitialActionsCheckFailed = Az "InitialActions" funkció nem tölthető be a {0} előre beállított fájlból.
ScheduledTasks = Ütemezett feladatok
OneDriveUninstalling = OneDrive eltávolítása...
OneDriveInstalling = OneDrive telepítése...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Sono state personalizzate tutte le f
WindowsComponentBroken = {0} rimosso dal sistema.
UpdateDefender = Le definizioni di Microsoft Defender non sono aggiornate. Eseguire Windows Update e riprovare.
ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata.
InitialActionsCheckFailed = La funzione "InitialActions" non può essere caricata dal file di preselezione {0}.
ScheduledTasks = Attività pianificate
OneDriveUninstalling = Disinstallazione di OneDrive...
OneDriveInstalling = Installazione di OneDrive...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pl-PL/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Czy dostosowałeś funkcje w predefi
WindowsComponentBroken = {0} jest uszkodzony lub usunięty z systemu operacyjnego.
UpdateDefender = Definicje programu Microsoft Defender nieaktualne. Uruchom aktualizację systemu Windows i spróbuj ponownie.
ControlledFolderAccessDisabled = Kontrolowany dostęp do folderów został wyłączony.
InitialActionsCheckFailed = Funkcja "InitialActions" nie może zostać załadowana z pliku ustawień wstępnych {0}.
ScheduledTasks = Zaplanowane zadania
OneDriveUninstalling = Odinstalowywanie OneDrive...
OneDriveInstalling = Instalowanie OneDrive...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Você personalizou todas as funçõe
WindowsComponentBroken = {0} quebrado ou removido do sistema operativo.
UpdateDefender = As definições do Microsoft Defender estão desatualizadas. Execute o Windows Update e tente novamente.
ControlledFolderAccessDisabled = Acesso controlado a pasta desativada.
InitialActionsCheckFailed = A função "InitialActions" não pode ser carregada do arquivo de predefinição {0}.
ScheduledTasks = Tarefas agendadas
OneDriveUninstalling = Desinstalar OneDrive...
OneDriveInstalling = Instalar o OneDrive...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Вы настроили все фу
WindowsComponentBroken = {0} сломан или удален из ОС.
UpdateDefender = Определения Microsoft Defender устарели. Запустите обновление Windows.
ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен.
InitialActionsCheckFailed = Функция "InitialActions" не может быть загружена из пресет-файла {0}.
ScheduledTasks = Запланированные задания
OneDriveUninstalling = Удаление OneDrive...
OneDriveInstalling = OneDrive устанавливается...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Sophia Script'i çalıştırmadan ö
WindowsComponentBroken = {0} bozuk veya işletim sisteminden kaldırıldı.
UpdateDefender = Microsoft Defender tanımları güncel değil. Windows Update'i çalıştırın ve tekrar deneyin.
ControlledFolderAccessDisabled = Kontrollü klasör erişimi devre dışı bırakıldı.
InitialActionsCheckFailed = "InitialActions" fonksiyonu {0} ön ayar dosyasından yüklenemez.
ScheduledTasks = Zamanlanan görevler
OneDriveUninstalling = OneDrive kaldırılıyor...
OneDriveInstalling = OneDrive kuruluyor...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = Ви налаштували всі
WindowsComponentBroken = {0} пошкоджено або видалено з ОС.
UpdateDefender = Визначення Microsoft Defender застаріли. Запустіть Windows Update і повторіть спробу.
ControlledFolderAccessDisabled = Контрольований доступ до папок вимкнений.
InitialActionsCheckFailed = Функція "InitialActions" не може бути завантажена з пресет-файлу {0}.
ScheduledTasks = Заплановані задачі
OneDriveUninstalling = Видалення OneDrive...
OneDriveInstalling = OneDrive встановлюється...

1
src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1

@ -16,6 +16,7 @@ CustomizationWarning = 在运行Sophia Script之前,您
WindowsComponentBroken = {0} 损坏或从操作系统中删除
UpdateDefender = Microsoft Defender的定义已经过期运行Windows Update并再次尝试
ControlledFolderAccessDisabled = "受控文件夹访问"已禁用
InitialActionsCheckFailed = 无法从{0}预置文件中加载 "InitialActions "功能
ScheduledTasks = 计划任务
OneDriveUninstalling = 卸载OneDrive.....
OneDriveInstalling = OneDrive正在安装.....

2
src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.17.7'
ModuleVersion = '5.17.8'
GUID = 'aa0b47a7-1770-4b5d-8c9f-cc6c505bcc7a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'

165
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v5.17.7
Date: 22.10.2023
Version: v5.17.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -1046,49 +1046,6 @@ $($Type):$($Value)`n
Add-Content -Path $Path -Value $Policy -Encoding Default -Force
}
# Revert back removed or commented out "InitialActions" functions
function script:AdditionalActions
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
# $_.File has no EndsWith() method
$PresetName = ((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}
if (Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch)
{
# The string exists and is commented
if ((Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch).Line.StartsWith("#") -eq $true)
{
$Host.UI.RawUI.WindowTitle = "InitialActions | $($PresetName)"
# Calculate the string number to uncomment "InitialActions -Warning"
$LineNumber = (Select-String -Path $PresetName -Pattern InitialActions | Select-String -Pattern "{InitialActions}", "The mandatory checks" -NotMatch).LineNumber
# Get data from the required line to replace it with "InitialActions -Warning"
$RequiredLine = (Get-Content -Path $PresetName -Encoding UTF8) | Where-Object -FilterScript {$_.ReadCount -eq $LineNumber}
(Get-Content -Path $PresetName -Encoding UTF8).Replace($RequiredLine, "InitialActions -Warning") | Set-Content -Path $PresetName -Encoding UTF8 -Force
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
}
else
{
$Host.UI.RawUI.WindowTitle = "InitialActions | $($PresetName)"
$ReadFile = Get-Content -Path $PresetName -Encoding UTF8
# Calculate the string number to add after "InitialActions -Warning"
$LineNumber = (Select-String -Path $PresetName -Pattern Import-LocalizedData).LineNumber
# Array of a new file: content before $LineNumber (including $LineNumber), new added string, the rest data of file
$UpdatedFile = @($ReadFile[0..($LineNumber - 1)], "`nInitialActions -Warning", $ReadFile[$LineNumber..($ReadFile.Length + 1)])
Set-Content -Path $PresetName -Value $UpdatedFile -Encoding UTF8 -Force
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
}
#endregion Additional function
#region Privacy & Telemetry
@ -1133,8 +1090,20 @@ function DiagTrackService
$Enable
)
# Revert back removed or commented out "InitialActions" functions
AdditionalActions
# Check whether "InitialActions" function was removed in preset file
if (-not ("WinAPI.GetStr" -as [type]))
{
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
# $_.File has no EndsWith() method
$PresetName = Split-Path -Path (((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}) -Leaf
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message ($Localization.InitialActionsCheckFailed -f $PresetName) -Verbose
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
exit
}
switch ($PSCmdlet.ParameterSetName)
{
@ -3543,6 +3512,57 @@ function CortanaButton
}
}
<#
.SYNOPSIS
Copilot button on the taskbar
.PARAMETER Hide
Hide Copilot button on the taskbar
.PARAMETER Show
Show Copilot button on the taskbar
.EXAMPLE
CopilotButton -Hide
.EXAMPLE
CopilotButton -Show
.NOTES
Current user
#>
function CopilotButton
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Hide"
)]
[switch]
$Hide,
[Parameter(
Mandatory = $true,
ParameterSetName = "Show"
)]
[switch]
$Show
)
switch ($PSCmdlet.ParameterSetName)
{
"Hide"
{
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCopilotButton -PropertyType DWord -Value 0 -Force
}
"Show"
{
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCopilotButton -PropertyType DWord -Value 1 -Force
}
}
}
<#
.SYNOPSIS
Task view button on the taskbar
@ -9093,6 +9113,57 @@ function ActiveHours
}
}
<#
.SYNOPSIS
Windows latest updates
.PARAMETER Disable
Do not get Windows updates as soon as they're available for your device
.PARAMETER Enable
Get Windows updates as soon as they're available for your device
.EXAMPLE
WindowsLatestUpdate -Disable
.EXAMPLE
WindowsLatestUpdate -Enable
.NOTES
Machine-wide
#>
function WindowsLatestUpdate
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable
)
switch ($PSCmdlet.ParameterSetName)
{
"Disable"
{
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name IsContinuousInnovationOptedIn -PropertyType DWord -Value 0 -Force
}
"Enable"
{
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name IsContinuousInnovationOptedIn -PropertyType DWord -Value 1 -Force
}
}
}
<#
.SYNOPSIS
Register app, calculate hash, and associate with an extension with the "How do you want to open this" pop-up hidden

22
src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 10 (PowerShell 7)"
Version: v5.17.7
Date: 22.10.2023
Version: v5.17.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -70,7 +70,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.17.7 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.17.8 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force
@ -395,6 +395,14 @@ CortanaButton -Hide
# Показать кнопку Кортаны на панели задач (значение по умолчанию)
# CortanaButton -Show
# Hide Copilot button on the taskbar
# Скрыть кнопку Copilot с панели задач
CopilotButton -Hide
# Show Copilot button on the taskbar (default value)
# Отобразить кнопку Copilot на панели задач (значение по умолчанию)
# CopilotButton -Show
# Hide the Task View button on the taskbar
# Скрыть кнопку Просмотра задач
TaskViewButton -Hide
@ -952,6 +960,14 @@ ActiveHours -Automatically
# Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)
# ActiveHours -Manually
# Do not get Windows updates as soon as they're available for your device (default value)
# Не получать последние обновления, как только они будут доступны (значение по умолчанию)
WindowsLatestUpdate -Disable
# Get Windows updates as soon as they're available for your device
# Получайте последние обновления, как только они будут доступны
# WindowsLatestUpdate -Enable
<#
Register app, calculate hash, and associate with an extension with the "How do you want to open this" pop-up hidden
Зарегистрировать приложение, вычислить хэш и ассоциировать его с расширением без всплывающего окна "Каким образом вы хотите открыть этот файл?"

6
src/Sophia_Script_for_Windows_11/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v6.5.7
Date: 22.10.2023
Version: v6.5.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.5.7 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.5.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Haben Sie alle Funktionen in der vor
WindowsComponentBroken = {0} defekt oder aus dem Betriebssystem entfernt.
UpdateDefender = Die Microsoft Defender-Definitionen sind veraltet. Führen Sie Windows Update aus und versuchen Sie es erneut.
ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert.
InitialActionsCheckFailed = Die Funktion "InitialActions" kann nicht aus der Voreinstellungsdatei {0} geladen werden.
ScheduledTasks = Geplante Aufgaben
OneDriveUninstalling = OneDrive deinstallieren...
OneDriveInstalling = OneDrive installieren...
@ -34,7 +35,6 @@ ShortcutPinning = Die Verknüpfung "{0}" wird an Start
SSDRequired = Um Windows Subsystem für Android auf Ihrem Gerät zu verwenden, muss auf Ihrem PC ein Solid State Drive (SSD) installiert sein.
UninstallUWPForAll = Für alle Benutzer
UWPAppsTitle = UWP-Apps
HEVCDownloading = HEVC-Videoerweiterungen vom Gerätehersteller herunterladen...
GraphicsPerformanceTitle = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" einstellen?
ActionCenter = Um die Funktion "{0}" nutzen zu können, müssen Sie das Action Center aktivieren.
WindowsScriptHost = Der Zugriff auf Windows Script Host wurde für diesem Computer deaktiviert. Um die Funktion "{0}" nutzen zu können, müssen Sie den Windows Script Host aktivieren.

3
src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1

@ -15,7 +15,7 @@ CustomizationWarning = Have you customized every function i
WindowsComponentBroken = {0} broken or removed from the OS.
UpdateDefender = Microsoft Defender definitions are out-of-date. Run Windows Update and try again.
ControlledFolderAccessDisabled = Controlled folder access disabled.
InitialActionsCheckFailed = Please do not remove "InitialActions" function from preset file.
InitialActionsCheckFailed = "InitialActions" function cannot be loaded from the {0} preset file.
ScheduledTasks = Scheduled tasks
OneDriveUninstalling = Uninstalling OneDrive...
OneDriveInstalling = Installing OneDrive...
@ -35,7 +35,6 @@ ShortcutPinning = The "{0}" shortcut is being pinned t
SSDRequired = To use Windows Subsystem for Android on your device, your PC needs to have Solid State Drive (SSD) installed.
UninstallUWPForAll = For all users
UWPAppsTitle = UWP Apps
HEVCDownloading = Downloading HEVC Video Extensions from Device Manufacturer...
GraphicsPerformanceTitle = Would you like to set the graphics performance setting of an app of your choice to "High performance"?
ActionCenter = In order to use "{0}" function you have to enable Action Center.
WindowsScriptHost = Windows Script Host access is disabled on this machine. In order to use "{0}" function you have to enable Windows Script Host.

2
src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = ¿Ha personalizado todas las funcion
WindowsComponentBroken = {0} dañado o eliminado del sistema operativo.
UpdateDefender = Las definiciones de Microsoft Defender no están actualizadas. Ejecute Windows Update y vuelva a intentarlo.
ControlledFolderAccessDisabled = Acceso a la carpeta controlada deshabilitado.
InitialActionsCheckFailed = La función "InitialActions" no se puede cargar desde el archivo de preajuste {0}.
ScheduledTasks = Tareas programadas
OneDriveUninstalling = Desinstalar OneDrive...
OneDriveInstalling = Instalación de OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = El acceso directo "{0}" está siendo
SSDRequired = Para utilizar Windows Subsystem for Android en su dispositivo, su PC debe tener instalada una unidad de estado sólido (SSD).
UninstallUWPForAll = Para todos los usuarios
UWPAppsTitle = Aplicaciones UWP
HEVCDownloading = Descargando HEVC Vídeo Extensiones del Fabricante del dispositivo...
GraphicsPerformanceTitle = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"?
ActionCenter = Um die Funktion "{0}" nutzen zu können, müssen Sie das Action Center aktivieren.
WindowsScriptHost = Acceso a Windows Script Host deshabilitado en este equipo. Um die Funktion "{0}" nutzen zu können, müssen Sie den Windows Script Host aktivieren.

2
src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Avez-vous personnalisé chaque fonct
WindowsComponentBroken = {0} cassé ou supprimé du système d'exploitation.
UpdateDefender = Les définitions de Microsoft Defender ne sont pas à jour. Exécutez Windows Update et réessayez.
ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé.
InitialActionsCheckFailed = La fonction "InitialActions" ne peut pas être chargée à partir du fichier de présélection {0}.
ScheduledTasks = Tâches planifiées
OneDriveUninstalling = Désinstalltion de OneDrive...
OneDriveInstalling = Installation de OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = Le raccourci "{0}" est épinglé sur
SSDRequired = Pour utiliser le sous-système Windows pour Android sur votre appareil, votre PC doit être équipé d'un lecteur à état solide (SSD).
UninstallUWPForAll = Pour tous les utilisateurs
UWPAppsTitle = Applications UWP
HEVCDownloading = Téléchargement de Extensions vidéo HEVC du fabricant de l'appareil...
GraphicsPerformanceTitle = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"?
ActionCenter = Pour utiliser la fonction "{0}", vous devez activer le Centre d'action.
WindowsScriptHost = L'accès à Windows Script Host est désactivé sur cette machine. Pour utiliser la fonction "{0}", vous devez activer Windows Script Host.

2
src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Személyre szabott minden opciót a
WindowsComponentBroken = A {0} elromlott vagy eltávolították az operációs rendszerből.
UpdateDefender = A Microsoft Defender definíciói elavultak. Futtassa a Windows Update programot, és próbálja meg újra.
ControlledFolderAccessDisabled = Vezérelt mappához való hozzáférés kikapcsolva.
InitialActionsCheckFailed = Az "InitialActions" funkció nem tölthető be a {0} előre beállított fájlból.
ScheduledTasks = Ütemezett feladatok
OneDriveUninstalling = OneDrive eltávolítása...
OneDriveInstalling = OneDrive telepítése...
@ -34,7 +35,6 @@ ShortcutPinning = A gyorsindító ikon "{0}" Startmen
SSDRequired = A Windows Subsystem for Android használatához a készüléken a számítógépen szilárdtest-meghajtónak (SSD) kell telepítve lennie.
UninstallUWPForAll = Az összes felhasználó számára
UWPAppsTitle = UWP Alkalmazások
HEVCDownloading = A HEVC Videobővítmények letöltése a gyártói oldalról...
GraphicsPerformanceTitle = Szeretné megváltoztatni a grafikus teljesítmény beállítást az ön által kiválasztott alkalmazásban "Nagy teljesítményre"?
ActionCenter = Az "{0}" funkció használatához engedélyeznie kell az Action Center funkciót.
WindowsScriptHost = A Windows Script Host ezen a gépen nem érhető el. Az "{0}" funkció használatához engedélyeznie kell a Windows Script Host.

2
src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Sono state personalizzate tutte le f
WindowsComponentBroken = {0} rimosso dal sistema.
UpdateDefender = Le definizioni di Microsoft Defender non sono aggiornate. Eseguire Windows Update e riprovare.
ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata.
InitialActionsCheckFailed = La funzione "InitialActions" non può essere caricata dal file di preselezione {0}.
ScheduledTasks = Attività pianificate
OneDriveUninstalling = Disinstallazione di OneDrive...
OneDriveInstalling = Installazione di OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = Il collegamento "{0}" è stato blocc
SSDRequired = Per utilizzare Windows Subsystem for Android sul proprio dispositivo, è necessario che sul PC sia installata un'unità a stato solido (SSD).
UninstallUWPForAll = Per tutti gli utenti
UWPAppsTitle = UWP Apps
HEVCDownloading = Download del codec video HEVC Video estenxion dal produttore...
GraphicsPerformanceTitle = Volete impostare l'impostazione delle prestazioni grafiche di un app di vostra scelta a "Prestazioni elevate"?
ActionCenter = Per utilizzare la funzione "{0}" è necessario attivare il Centro operativo.
WindowsScriptHost = Accesso a Windows Script Host disabilitato sul computer in uso. Per utilizzare la funzione "{0}" è necessario abilitare Windows Script Host.

2
src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Czy dostosowałeś funkcje w predefi
WindowsComponentBroken = {0} jest uszkodzony lub usunięty z systemu operacyjnego.
UpdateDefender = Definicje programu Microsoft Defender nieaktualne. Uruchom aktualizację systemu Windows i spróbuj ponownie.
ControlledFolderAccessDisabled = Kontrolowany dostęp do folderów został wyłączony.
InitialActionsCheckFailed = Funkcja "InitialActions" nie może zostać załadowana z pliku ustawień wstępnych {0}.
ScheduledTasks = Zaplanowane zadania
OneDriveUninstalling = Odinstalowywanie OneDrive...
OneDriveInstalling = Instalowanie OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = Skrót "{0}" jest przypinany do Star
SSDRequired = By korzystać z podsystemu Windows dla systemu Android urządzenie musi być wyposażone w dysk SSD.
UninstallUWPForAll = Dla wszystkich użytkowników
UWPAppsTitle = Aplikacje UWP
HEVCDownloading = Pobieranie rozszerzeń wideo HEVC od producenta urządzenia...
GraphicsPerformanceTitle = Czy chcesz ustawić wydajność grafiki wybranej aplikacji na "Wysoka wydajność"?
ActionCenter = Aby korzystać z funkcji "{0}" należy włączyć Action Center.
WindowsScriptHost = Dostęp do Hosta skryptów systemu Windows jest wyłączony na tym komputerze. Aby korzystać z funkcji "{0}" należy włączyć Windows Script Host.

2
src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Você personalizou todas as funçõe
WindowsComponentBroken = {0} quebrado ou removido do sistema operativo.
UpdateDefender = As definições do Microsoft Defender estão desatualizadas. Execute o Windows Update e tente novamente.
ControlledFolderAccessDisabled = Acesso controlado a pasta desativada.
InitialActionsCheckFailed = A função "InitialActions" não pode ser carregada do arquivo de predefinição {0}.
ScheduledTasks = Tarefas agendadas
OneDriveUninstalling = Desinstalar OneDrive...
OneDriveInstalling = Instalar o OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = O atalho "{0}" está sendo fixado no
SSDRequired = Para utilizar o Subsistema Windows para Android no seu dispositivo, o seu PC necessita de ter a unidade de estado sólido (SSD) instalada.
UninstallUWPForAll = Para todos os usuários...
UWPAppsTitle = Apps UWP
HEVCDownloading = Baixando HEVC Vídeo Extensões de Dispositivo Fabricante...
GraphicsPerformanceTitle = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"?
ActionCenter = Para utilizar a função {0}", tem de activar o Centro de Acção.
WindowsScriptHost = O acesso ao Windows Script Host está desactivado neste computador. Para usar a função "{0}", é necessário ativar o Windows Script Host.

2
src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Вы настроили все фу
WindowsComponentBroken = {0} сломан или удален из ОС.
UpdateDefender = Определения Microsoft Defender устарели. Запустите обновление Windows.
ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен.
InitialActionsCheckFailed = Функция "InitialActions" не может быть загружена из пресет-файла {0}.
ScheduledTasks = Запланированные задания
OneDriveUninstalling = Удаление OneDrive...
OneDriveInstalling = OneDrive устанавливается...
@ -34,7 +35,6 @@ ShortcutPinning = Ярлык "{0}" закрепляе
SSDRequired = Чтобы использовать подсистему Windows для Android на вашем ПК должен быть установлен твердотельный накопитель (SSD).
UninstallUWPForAll = Для всех пользователей
UWPAppsTitle = UWP-приложения
HEVCDownloading = Скачивается расширение "Расширения для видео HEVC от производителя устройства"...
GraphicsPerformanceTitle = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"?
ActionCenter = Чтобы использовать функцию "{0}" вам необходимо включить центр уведомлений.
WindowsScriptHost = На данном компьютере отключен доступ к серверу сценариев Windows. Чтобы использовать функцию "{0}", вам необходимо включить сервер сценариев Windows.

2
src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Sophia Script'i çalıştırmadan ö
WindowsComponentBroken = {0} bozuk veya işletim sisteminden kaldırıldı.
UpdateDefender = Microsoft Defender tanımları güncel değil. Windows Update'i çalıştırın ve tekrar deneyin.
ControlledFolderAccessDisabled = Kontrollü klasör erişimi devre dışı bırakıldı.
InitialActionsCheckFailed = "InitialActions" fonksiyonu {0} ön ayar dosyasından yüklenemez.
ScheduledTasks = Zamanlanan görevler
OneDriveUninstalling = OneDrive kaldırılıyor...
OneDriveInstalling = OneDrive kuruluyor...
@ -34,7 +35,6 @@ ShortcutPinning = "{0}" kısayolu Başlangıç sekmesi
SSDRequired = Android için Windows Alt Sistemi'ni cihazınızda kullanmak için bilgisayarınızda Katı Hal Sürücüsü (SSD) yüklü olmalıdır.
UninstallUWPForAll = Bütün kullanıcılar için
UWPAppsTitle = UWP Uygulamaları
HEVCDownloading = "Cihaz Üreticisinden HEVC Video Uzantıları" İndiriliyor...
GraphicsPerformanceTitle = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz?
ActionCenter = "{0}" işlevini kullanmak için Eylem Merkezi'ni etkinleştirmeniz gerekir.
WindowsScriptHost = Windows Kod Merkezi erişimi bu makineden devre dışı. "{0}" işlevini kullanmak için Windows Kod Merkezi'u etkinleştirmeniz gerekir.

2
src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Ви налаштували всі
WindowsComponentBroken = {0} пошкоджено або видалено з ОС.
UpdateDefender = Визначення Microsoft Defender застаріли. Запустіть Windows Update і повторіть спробу.
ControlledFolderAccessDisabled = Контрольований доступ до папок вимкнений.
InitialActionsCheckFailed = Функція "InitialActions" не може бути завантажена з пресет-файлу {0}.
ScheduledTasks = Заплановані задачі
OneDriveUninstalling = Видалення OneDrive...
OneDriveInstalling = OneDrive встановлюється...
@ -34,7 +35,6 @@ ShortcutPinning = Ярлик "{0}" закріплює
SSDRequired = Щоб використовувати підсистему Windows для Android на вашому ПК має бути встановлений твердотільний накопичувач (SSD).
UninstallUWPForAll = Для всіх користувачів
UWPAppsTitle = UWP-додатки
HEVCDownloading = Завантажується розширення "Розширення для відео HEVC від виробника пристрою"...
GraphicsPerformanceTitle = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"?
ActionCenter = Щоб використовувати функцію "{0}" вам необхідно увімкнути центр сповіщень.
WindowsScriptHost = На цьому комп'ютері вимкнено доступ до сервера сценаріїв Windows. Щоб використовувати функцію "{0}", вам необхідно увімкнути сервер сценаріїв Windows.

2
src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = 在运行Sophia Script之前,您
WindowsComponentBroken = {0} 损坏或从操作系统中删除
UpdateDefender = Microsoft Defender的定义已经过期运行Windows Update并再次尝试
ControlledFolderAccessDisabled = "受控文件夹访问"已禁用
InitialActionsCheckFailed = 无法从{0}预置文件中加载 "InitialActions "功能
ScheduledTasks = 计划任务
OneDriveUninstalling = 卸载OneDrive.....
OneDriveInstalling = OneDrive正在安装.....
@ -34,7 +35,6 @@ ShortcutPinning = "{0}"快捷方式将被固定到开
SSDRequired = 要在您的设备上使用Windows Subsystem for Android您的电脑需要安装固态驱动器SSD
UninstallUWPForAll = 对于所有用户
UWPAppsTitle = UWP应用
HEVCDownloading = 下载"HEVC Video Extensions from Device Manufacturer".....
GraphicsPerformanceTitle = 是否将所选应用程序的图形性能设置设为"高性能"
ActionCenter = 为了使用"{0}"功能你必须启用行动中心
WindowsScriptHost = 没有在该机执行 Windows 脚本宿主的权限请与系统管理员联系 为了使用"{0}"功能你必须启用Windows脚本主机

2
src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '6.5.7'
ModuleVersion = '6.5.8'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'

186
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v6.5.7
Date: 22.10.2023
Version: v6.5.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -1077,9 +1077,13 @@ function DiagTrackService
)
# Check whether "InitialActions" function was removed in preset file
if (-not ("WinAPI.GetStr" -as [type])) ###
if (-not ("WinAPI.GetStr" -as [type]))
{
Write-Warning -Message $Localization.InitialActionsCheckFailed
# Get the name of a preset (e.g Sophia.ps1) regardless it was named
# $_.File has no EndsWith() method
$PresetName = Split-Path -Path (((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}) -Leaf
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message ($Localization.InitialActionsCheckFailed -f $PresetName) -Verbose
Start-Process -FilePath "https://t.me/sophia_chat"
Start-Process -FilePath "https://discord.gg/sSryhaEv79"
@ -3162,14 +3166,6 @@ function CopilotButton
$Show
)
switch ((Get-CimInstance -ClassName CIM_OperatingSystem).BuildNumber)
{
{($_ -ne 22631) -and ($_ -lt 23493)}
{
return
}
}
switch ($PSCmdlet.ParameterSetName)
{
"Hide"
@ -11376,160 +11372,6 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
}
}
<#
.SYNOPSIS
"HEVC Video Extensions from Device Manufacturer" extension
.PARAMETER Install
Download and install the "HEVC Video Extensions from Device Manufacturer" extension
.PARAMETER Manually
Open Microsoft Store "HEVC Video Extensions from Device Manufacturer" page to install the extension manually
.EXAMPLE
HEVC -Install
.EXAMPLE
HEVC -Manually
.LINK
https://www.microsoft.com/store/productId/9n4wgh0z6vhq
.NOTES
The extension can be installed without Microsoft account
.NOTES
HEVC Video Extension is already installed in Windows 11 23H2 by default
.NOTES
Current user
#>
function HEVC
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Install"
)]
[switch]
$Install,
[Parameter(
Mandatory = $true,
ParameterSetName = "Manually"
)]
[switch]
$Manually
)
# Check whether the extension is already installed
if ((-not (Get-AppxPackage -Name Microsoft.Windows.Photos)) -or (Get-AppxPackage -Name Microsoft.HEVCVideoExtension))
{
return
}
try
{
# Check the internet connection
$Parameters = @{
Name = "dns.msftncsi.com"
Server = "1.1.1.1"
DnsOnly = $true
ErrorAction = "Stop"
}
if ((Resolve-DnsName @Parameters).IPAddress -notcontains "131.107.255.255")
{
return
}
}
catch [System.ComponentModel.Win32Exception]
{
Write-Warning -Message $Localization.NoInternetConnection
Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line.Trim()) -ErrorAction SilentlyContinue
return
}
switch ($PSCmdlet.ParameterSetName)
{
"Install"
{
try
{
# Check whether https://store.rg-adguard.net is alive
$Parameters = @{
Uri = "https://store.rg-adguard.net/api/GetFiles"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Verbose = $true
}
if (-not (Invoke-WebRequest @Parameters).StatusDescription)
{
return
}
$Body = @{
type = "url"
url = "https://www.microsoft.com/store/productId/9n4wgh0z6vhq"
ring = "Retail"
lang = "en-US"
}
$Parameters = @{
Uri = "https://store.rg-adguard.net/api/GetFiles"
Method = "Post"
ContentType = "application/x-www-form-urlencoded"
Body = $Body
UseBasicParsing = $true
Verbose = $true
}
$Raw = Invoke-WebRequest @Parameters
# Parsing the page
$Raw | Select-String -Pattern '<tr style.*<a href=\"(?<url>.*)"\s.*>(?<text>.*)<\/a>' -AllMatches | ForEach-Object -Process {$_.Matches} | Where-Object -FilterScript {$_.Value -like "*x64*.appx*"} | ForEach-Object -Process {
$TempURL = ($_.Groups | Select-Object -Index 1).Value
$HEVCPackageName = ($_.Groups | Select-Object -Index 2).Value.Split("_") | Select-Object -Index 1
# Installing "HEVC Video Extensions from Device Manufacturer"
if ([System.Version]$HEVCPackageName -gt [System.Version](Get-AppxPackage -Name Microsoft.HEVCVideoExtension).Version)
{
Write-Information -MessageData "" -InformationAction Continue
# Extract the localized "Please wait..." string from shell32.dll
Write-Verbose -Message ([WinAPI.GetStr]::GetString(12612)) -Verbose
Write-Verbose -Message $Localization.HEVCDownloading -Verbose
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
$Parameters = @{
Uri = $TempURL
OutFile = "$DownloadsFolder\Microsoft.HEVCVideoExtension_8wekyb3d8bbwe.appx"
UseBasicParsing = $true
Verbose = $true
}
Invoke-WebRequest @Parameters
Add-AppxPackage -Path "$DownloadsFolder\Microsoft.HEVCVideoExtension_8wekyb3d8bbwe.appx" -Verbose
Remove-Item -Path "$DownloadsFolder\Microsoft.HEVCVideoExtension_8wekyb3d8bbwe.appx" -Force
}
}
}
catch [System.Net.WebException]
{
Write-Warning -Message ($Localization.NoResponse -f "https://store.rg-adguard.net/api/GetFiles")
Write-Error -Message ($Localization.NoResponse -f "https://store.rg-adguard.net/api/GetFiles") -ErrorAction SilentlyContinue
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line.Trim()) -ErrorAction SilentlyContinue
}
}
"Manually"
{
Start-Process -FilePath ms-windows-store://pdp/?ProductId=9n4wgh0z6vhq
}
}
}
<#
.SYNOPSIS
Cortana autostarting
@ -13759,11 +13601,6 @@ function DNSoverHTTPS
{
"Enable"
{
if (((Get-WinHomeLocation).GeoId -ne "203") -or ((Get-WinHomeLocation).GeoId -ne "29"))
{
return
}
# Set a primary and secondary DNS servers
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{
@ -13791,9 +13628,12 @@ function DNSoverHTTPS
}
"ComssOneDNS"
{
if (-not (((Get-WinHomeLocation).GeoId -eq "203") -or ((Get-WinHomeLocation).GeoId -eq "29")))
switch ((Get-WinHomeLocation).GeoId)
{
return
{($_ -ne 203) -and ($_ -ne 29)}
{
return
}
}
# Set a primary and secondary DNS servers

23
src/Sophia_Script_for_Windows_11/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Sophia Script for Windows 11"
Version: v6.5.7
Date: 22.10.2023
Version: v6.5.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -69,7 +69,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.5.7 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.5.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force
@ -1054,19 +1054,6 @@ UninstallUWPApps
#>
# RestoreUWPApps
# Download and install "HEVC Video Extensions from Device Manufacturer" to be able to open .heic and .heif formats
# Скачать и установить "Расширения для видео HEVC от производителя устройства", чтобы иметь возможность открывать форматы .heic и .heif
HEVC -Install
<#
Open Microsoft Store "HEVC Video Extensions from Device Manufacturer" page to install this extension manually to be able to open .heic and .heif formats
The extension can be installed without an Microsoft account
Открыть страницу "Расширения для видео HEVC от производителя устройства" в Microsoft Store, чтобы вручную установить расширение для открытия форматов .heic и .heif
Расширение может быть установлено бесплатно без учетной записи Microsoft
#>
# HEVC -Manually
# Disable Cortana autostarting
# Выключить автозагрузку Кортана
CortanaAutostart -Disable
@ -1285,6 +1272,10 @@ DNSoverHTTPS -Enable -PrimaryDNS 1.0.0.1 -SecondaryDNS 1.1.1.1
# Выключить DNS-over-HTTPS для IPv4 (значение по умолчанию)
# DNSoverHTTPS -Disable
# Enable DNS-over-HTTPS via Comss.one DNS server. Applicable for Russia only
# Включить DNS-over-HTTPS для IPv4 через DNS-сервер Comss.one. Применимо только для России
# DNSoverHTTPS -ComssOneDNS
# Enable Local Security Authority protection to prevent code injection
# Включить защиту локальной системы безопасности, чтобы предотвратить внедрение кода
# LocalSecurityAuthority -Enable

6
src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v6.5.7
Date: 22.10.2023
Version: v6.5.8
Date: 08.12.2023
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.5.7 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.5.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag & Inestic, 2014$([System.Char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Haben Sie alle Funktionen in der vor
WindowsComponentBroken = {0} defekt oder aus dem Betriebssystem entfernt.
UpdateDefender = Die Microsoft Defender-Definitionen sind veraltet. Führen Sie Windows Update aus und versuchen Sie es erneut.
ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert.
InitialActionsCheckFailed = Die Funktion "InitialActions" kann nicht aus der Voreinstellungsdatei {0} geladen werden.
ScheduledTasks = Geplante Aufgaben
OneDriveUninstalling = OneDrive deinstallieren...
OneDriveInstalling = OneDrive installieren...
@ -34,7 +35,6 @@ ShortcutPinning = Die Verknüpfung "{0}" wird an Start
SSDRequired = Um Windows Subsystem für Android auf Ihrem Gerät zu verwenden, muss auf Ihrem PC ein Solid State Drive (SSD) installiert sein.
UninstallUWPForAll = Für alle Benutzer
UWPAppsTitle = UWP-Apps
HEVCDownloading = HEVC-Videoerweiterungen vom Gerätehersteller herunterladen...
GraphicsPerformanceTitle = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" einstellen?
ActionCenter = Um die Funktion "{0}" nutzen zu können, müssen Sie das Action Center aktivieren.
WindowsScriptHost = Der Zugriff auf Windows Script Host wurde für diesem Computer deaktiviert. Um die Funktion "{0}" nutzen zu können, müssen Sie den Windows Script Host aktivieren.

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Have you customized every function i
WindowsComponentBroken = {0} broken or removed from the OS.
UpdateDefender = Microsoft Defender definitions are out-of-date. Run Windows Update and try again.
ControlledFolderAccessDisabled = Controlled folder access disabled.
InitialActionsCheckFailed = "InitialActions" function cannot be loaded from the {0} preset file.
ScheduledTasks = Scheduled tasks
OneDriveUninstalling = Uninstalling OneDrive...
OneDriveInstalling = Installing OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = The "{0}" shortcut is being pinned t
SSDRequired = To use Windows Subsystem for Android on your device, your PC needs to have Solid State Drive (SSD) installed.
UninstallUWPForAll = For all users
UWPAppsTitle = UWP Apps
HEVCDownloading = Downloading HEVC Video Extensions from Device Manufacturer...
GraphicsPerformanceTitle = Would you like to set the graphics performance setting of an app of your choice to "High performance"?
ActionCenter = In order to use "{0}" function you have to enable Action Center.
WindowsScriptHost = Windows Script Host access is disabled on this machine. In order to use "{0}" function you have to enable Windows Script Host.

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = ¿Ha personalizado todas las funcion
WindowsComponentBroken = {0} dañado o eliminado del sistema operativo.
UpdateDefender = Las definiciones de Microsoft Defender no están actualizadas. Ejecute Windows Update y vuelva a intentarlo.
ControlledFolderAccessDisabled = Acceso a la carpeta controlada deshabilitado.
InitialActionsCheckFailed = La función "InitialActions" no se puede cargar desde el archivo de preajuste {0}.
ScheduledTasks = Tareas programadas
OneDriveUninstalling = Desinstalar OneDrive...
OneDriveInstalling = Instalación de OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = El acceso directo "{0}" está siendo
SSDRequired = Para utilizar Windows Subsystem for Android en su dispositivo, su PC debe tener instalada una unidad de estado sólido (SSD).
UninstallUWPForAll = Para todos los usuarios
UWPAppsTitle = Aplicaciones UWP
HEVCDownloading = Descargando HEVC Vídeo Extensiones del Fabricante del dispositivo...
GraphicsPerformanceTitle = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"?
ActionCenter = Um die Funktion "{0}" nutzen zu können, müssen Sie das Action Center aktivieren.
WindowsScriptHost = Acceso a Windows Script Host deshabilitado en este equipo. Um die Funktion "{0}" nutzen zu können, müssen Sie den Windows Script Host aktivieren.

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Avez-vous personnalisé chaque fonct
WindowsComponentBroken = {0} cassé ou supprimé du système d'exploitation.
UpdateDefender = Les définitions de Microsoft Defender ne sont pas à jour. Exécutez Windows Update et réessayez.
ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé.
InitialActionsCheckFailed = La fonction "InitialActions" ne peut pas être chargée à partir du fichier de présélection {0}.
ScheduledTasks = Tâches planifiées
OneDriveUninstalling = Désinstalltion de OneDrive...
OneDriveInstalling = Installation de OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = Le raccourci "{0}" est épinglé sur
SSDRequired = Pour utiliser le sous-système Windows pour Android sur votre appareil, votre PC doit être équipé d'un lecteur à état solide (SSD).
UninstallUWPForAll = Pour tous les utilisateurs
UWPAppsTitle = Applications UWP
HEVCDownloading = Téléchargement de Extensions vidéo HEVC du fabricant de l'appareil...
GraphicsPerformanceTitle = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"?
ActionCenter = Pour utiliser la fonction "{0}", vous devez activer le Centre d'action.
WindowsScriptHost = L'accès à Windows Script Host est désactivé sur cette machine. Pour utiliser la fonction "{0}", vous devez activer Windows Script Host.

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Személyre szabott minden opciót a
WindowsComponentBroken = A {0} elromlott vagy eltávolították az operációs rendszerből.
UpdateDefender = A Microsoft Defender definíciói elavultak. Futtassa a Windows Update programot, és próbálja meg újra.
ControlledFolderAccessDisabled = Vezérelt mappához való hozzáférés kikapcsolva.
InitialActionsCheckFailed = Az "InitialActions" funkció nem tölthető be a {0} előre beállított fájlból.
ScheduledTasks = Ütemezett feladatok
OneDriveUninstalling = OneDrive eltávolítása...
OneDriveInstalling = OneDrive telepítése...
@ -34,7 +35,6 @@ ShortcutPinning = A gyorsindító ikon "{0}" Startmen
SSDRequired = A Windows Subsystem for Android használatához a készüléken a számítógépen szilárdtest-meghajtónak (SSD) kell telepítve lennie.
UninstallUWPForAll = Az összes felhasználó számára
UWPAppsTitle = UWP Alkalmazások
HEVCDownloading = A HEVC Videobővítmények letöltése a gyártói oldalról...
GraphicsPerformanceTitle = Szeretné megváltoztatni a grafikus teljesítmény beállítást az ön által kiválasztott alkalmazásban "Nagy teljesítményre"?
ActionCenter = Az "{0}" funkció használatához engedélyeznie kell az Action Center funkciót.
WindowsScriptHost = A Windows Script Host ezen a gépen nem érhető el. Az "{0}" funkció használatához engedélyeznie kell a Windows Script Host.

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Sono state personalizzate tutte le f
WindowsComponentBroken = {0} rimosso dal sistema.
UpdateDefender = Le definizioni di Microsoft Defender non sono aggiornate. Eseguire Windows Update e riprovare.
ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata.
InitialActionsCheckFailed = La funzione "InitialActions" non può essere caricata dal file di preselezione {0}.
ScheduledTasks = Attività pianificate
OneDriveUninstalling = Disinstallazione di OneDrive...
OneDriveInstalling = Installazione di OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = Il collegamento "{0}" è stato blocc
SSDRequired = Per utilizzare Windows Subsystem for Android sul proprio dispositivo, è necessario che sul PC sia installata un'unità a stato solido (SSD).
UninstallUWPForAll = Per tutti gli utenti
UWPAppsTitle = UWP Apps
HEVCDownloading = Download del codec video HEVC Video estenxion dal produttore...
GraphicsPerformanceTitle = Volete impostare l'impostazione delle prestazioni grafiche di un app di vostra scelta a "Prestazioni elevate"?
ActionCenter = Per utilizzare la funzione "{0}" è necessario attivare il Centro operativo.
WindowsScriptHost = Accesso a Windows Script Host disabilitato sul computer in uso. Per utilizzare la funzione "{0}" è necessario abilitare Windows Script Host.

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Czy dostosowałeś funkcje w predefi
WindowsComponentBroken = {0} jest uszkodzony lub usunięty z systemu operacyjnego.
UpdateDefender = Definicje programu Microsoft Defender nieaktualne. Uruchom aktualizację systemu Windows i spróbuj ponownie.
ControlledFolderAccessDisabled = Kontrolowany dostęp do folderów został wyłączony.
InitialActionsCheckFailed = Funkcja "InitialActions" nie może zostać załadowana z pliku ustawień wstępnych {0}.
ScheduledTasks = Zaplanowane zadania
OneDriveUninstalling = Odinstalowywanie OneDrive...
OneDriveInstalling = Instalowanie OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = Skrót "{0}" jest przypinany do Star
SSDRequired = By korzystać z podsystemu Windows dla systemu Android urządzenie musi być wyposażone w dysk SSD.
UninstallUWPForAll = Dla wszystkich użytkowników
UWPAppsTitle = Aplikacje UWP
HEVCDownloading = Pobieranie rozszerzeń wideo HEVC od producenta urządzenia...
GraphicsPerformanceTitle = Czy chcesz ustawić wydajność grafiki wybranej aplikacji na "Wysoka wydajność"?
ActionCenter = Aby korzystać z funkcji "{0}" należy włączyć Action Center.
WindowsScriptHost = Dostęp do Hosta skryptów systemu Windows jest wyłączony na tym komputerze. Aby korzystać z funkcji "{0}" należy włączyć Windows Script Host.

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Você personalizou todas as funçõe
WindowsComponentBroken = {0} quebrado ou removido do sistema operativo.
UpdateDefender = As definições do Microsoft Defender estão desatualizadas. Execute o Windows Update e tente novamente.
ControlledFolderAccessDisabled = Acesso controlado a pasta desativada.
InitialActionsCheckFailed = A função "InitialActions" não pode ser carregada do arquivo de predefinição {0}.
ScheduledTasks = Tarefas agendadas
OneDriveUninstalling = Desinstalar OneDrive...
OneDriveInstalling = Instalar o OneDrive...
@ -34,7 +35,6 @@ ShortcutPinning = O atalho "{0}" está sendo fixado no
SSDRequired = Para utilizar o Subsistema Windows para Android no seu dispositivo, o seu PC necessita de ter a unidade de estado sólido (SSD) instalada.
UninstallUWPForAll = Para todos os usuários...
UWPAppsTitle = Apps UWP
HEVCDownloading = Baixando HEVC Vídeo Extensões de Dispositivo Fabricante...
GraphicsPerformanceTitle = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"?
ActionCenter = Para utilizar a função {0}", tem de activar o Centro de Acção.
WindowsScriptHost = O acesso ao Windows Script Host está desactivado neste computador. Para usar a função "{0}", é necessário ativar o Windows Script Host.

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Вы настроили все фу
WindowsComponentBroken = {0} сломан или удален из ОС.
UpdateDefender = Определения Microsoft Defender устарели. Запустите обновление Windows.
ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен.
InitialActionsCheckFailed = Функция "InitialActions" не может быть загружена из пресет-файла {0}.
ScheduledTasks = Запланированные задания
OneDriveUninstalling = Удаление OneDrive...
OneDriveInstalling = OneDrive устанавливается...
@ -34,7 +35,6 @@ ShortcutPinning = Ярлык "{0}" закрепляе
SSDRequired = Чтобы использовать подсистему Windows для Android на вашем ПК должен быть установлен твердотельный накопитель (SSD).
UninstallUWPForAll = Для всех пользователей
UWPAppsTitle = UWP-приложения
HEVCDownloading = Скачивается расширение "Расширения для видео HEVC от производителя устройства"...
GraphicsPerformanceTitle = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"?
ActionCenter = Чтобы использовать функцию "{0}" вам необходимо включить центр уведомлений.
WindowsScriptHost = На данном компьютере отключен доступ к серверу сценариев Windows. Чтобы использовать функцию "{0}", вам необходимо включить сервер сценариев Windows.

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Sophia Script'i çalıştırmadan ö
WindowsComponentBroken = {0} bozuk veya işletim sisteminden kaldırıldı.
UpdateDefender = Microsoft Defender tanımları güncel değil. Windows Update'i çalıştırın ve tekrar deneyin.
ControlledFolderAccessDisabled = Kontrollü klasör erişimi devre dışı bırakıldı.
InitialActionsCheckFailed = "InitialActions" fonksiyonu {0} ön ayar dosyasından yüklenemez.
ScheduledTasks = Zamanlanan görevler
OneDriveUninstalling = OneDrive kaldırılıyor...
OneDriveInstalling = OneDrive kuruluyor...
@ -34,7 +35,6 @@ ShortcutPinning = "{0}" kısayolu Başlangıç sekmesi
SSDRequired = Android için Windows Alt Sistemi'ni cihazınızda kullanmak için bilgisayarınızda Katı Hal Sürücüsü (SSD) yüklü olmalıdır.
UninstallUWPForAll = Bütün kullanıcılar için
UWPAppsTitle = UWP Uygulamaları
HEVCDownloading = "Cihaz Üreticisinden HEVC Video Uzantıları" İndiriliyor...
GraphicsPerformanceTitle = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz?
ActionCenter = "{0}" işlevini kullanmak için Eylem Merkezi'ni etkinleştirmeniz gerekir.
WindowsScriptHost = Windows Kod Merkezi erişimi bu makineden devre dışı. "{0}" işlevini kullanmak için Windows Kod Merkezi'u etkinleştirmeniz gerekir.

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1

@ -15,6 +15,7 @@ CustomizationWarning = Ви налаштували всі
WindowsComponentBroken = {0} пошкоджено або видалено з ОС.
UpdateDefender = Визначення Microsoft Defender застаріли. Запустіть Windows Update і повторіть спробу.
ControlledFolderAccessDisabled = Контрольований доступ до папок вимкнений.
InitialActionsCheckFailed = Функція "InitialActions" не може бути завантажена з пресет-файлу {0}.
ScheduledTasks = Заплановані задачі
OneDriveUninstalling = Видалення OneDrive...
OneDriveInstalling = OneDrive встановлюється...
@ -34,7 +35,6 @@ ShortcutPinning = Ярлик "{0}" закріплює
SSDRequired = Щоб використовувати підсистему Windows для Android на вашому ПК має бути встановлений твердотільний накопичувач (SSD).
UninstallUWPForAll = Для всіх користувачів
UWPAppsTitle = UWP-додатки
HEVCDownloading = Завантажується розширення "Розширення для відео HEVC від виробника пристрою"...
GraphicsPerformanceTitle = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"?
ActionCenter = Щоб використовувати функцію "{0}" вам необхідно увімкнути центр сповіщень.
WindowsScriptHost = На цьому комп'ютері вимкнено доступ до сервера сценаріїв Windows. Щоб використовувати функцію "{0}", вам необхідно увімкнути сервер сценаріїв Windows.

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save