Browse Source

Functions re-arranged

pull/702/head
Dmitry Nefedov 2 months ago
parent
commit
fde59f1fd3
  1. 4
      .github/workflows/Badge_lines.yml
  2. 325
      Wrapper/Config/config_Windows_10.json
  3. 194
      Wrapper/Config/config_Windows_10_LTSC.json
  4. 2
      Wrapper/Config/config_Windows_11.json
  5. 2
      Wrapper/Config/config_Windows_11_ARM.json
  6. 2
      Wrapper/Config/config_Windows_11_LTSC.json
  7. 3946
      Wrapper/Localizations/de-DE/tooltip_Windows_10.json
  8. 28
      Wrapper/Localizations/de-DE/tooltip_Windows_11.json
  9. 120
      Wrapper/Localizations/de-DE/tooltip_Windows_11_ARM.json
  10. 3934
      Wrapper/Localizations/en-US/tooltip_Windows_10.json
  11. 2
      Wrapper/Localizations/en-US/tooltip_Windows_11.json
  12. 2
      Wrapper/Localizations/en-US/tooltip_Windows_11_ARM.json
  13. 3932
      Wrapper/Localizations/ru-RU/tooltip_Windows_10.json
  14. 38
      src/Sophia_Script_for_Windows_10/Import-TabCompletion.ps1
  15. 5980
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  16. 156
      src/Sophia_Script_for_Windows_10/Sophia.ps1
  17. 38
      src/Sophia_Script_for_Windows_10_LTSC_2019/Import-TabCompletion.ps1
  18. 308
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  19. 42
      src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1
  20. 38
      src/Sophia_Script_for_Windows_10_LTSC_2021/Import-TabCompletion.ps1
  21. 2737
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  22. 140
      src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1
  23. 38
      src/Sophia_Script_for_Windows_10_PowerShell_7/Import-TabCompletion.ps1
  24. 5982
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  25. 156
      src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1
  26. BIN
      src/Sophia_Script_for_Windows_11/Binaries/LGPO.exe
  27. 38
      src/Sophia_Script_for_Windows_11/Import-TabCompletion.ps1
  28. 38
      src/Sophia_Script_for_Windows_11_ARM/Import-TabCompletion.ps1
  29. 38
      src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Import-TabCompletion.ps1
  30. 38
      src/Sophia_Script_for_Windows_11_LTSC_2024/Import-TabCompletion.ps1
  31. 38
      src/Sophia_Script_for_Windows_11_PowerShell_7/Import-TabCompletion.ps1

4
.github/workflows/Badge_lines.yml

@ -18,10 +18,10 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@main
- name: Get Sophia_Script_for_Windows_11 folder lines number
- name: Get src folder lines number
run: |
$Summary = 0
Get-ChildItem -Path src\Sophia_Script_for_Windows_11 -File -Recurse | ForEach-Object -Process {
Get-ChildItem -Path src -File -Recurse | ForEach-Object -Process {
$Summary += ((Get-Content -Path $_.FullName).Count | Measure-Object -Sum).Sum
}
$Summary = "{0:N1}k" -f ($Summary/1000)

325
Wrapper/Config/config_Windows_10.json

@ -458,6 +458,103 @@
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UI & Personalization",
"Control": "cmbs",
"Required": "false",
"Function": "UserFolders",
"Arg2Width": "110",
"Arg2ArgWidth": "100",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Arg2": {
"Zero": {
"Function": "ThreeDObjects",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
},
"One": {
"Function": "Desktop",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
},
"Two": {
"Function": "Documents",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
},
"Three": {
"Function": "Downloads",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
},
"Four": {
"Function": "Music",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
},
"Five": {
"Function": "Pictures",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
},
"Six": {
"Function": "Videos",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
@ -919,11 +1016,9 @@
},
{
"Region": "UI & Personalization",
"Control": "cmbs",
"Control": "cmb",
"Required": "false",
"Function": "UserFolders",
"Arg2Width": "110",
"Arg2ArgWidth": "100",
"Function": "RecentlyAddedStartApps",
"Arg": {
"Zero": {
"Tag": "Hide"
@ -932,88 +1027,86 @@
"Tag": "Show"
}
},
"Arg2": {
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "MostUsedStartApps",
"Arg": {
"Zero": {
"Function": "ThreeDObjects",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
"Tag": "Hide"
},
"One": {
"Function": "Desktop",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
},
"Two": {
"Function": "Documents",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
},
"Three": {
"Function": "Downloads",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
},
"Four": {
"Function": "Music",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "Zero"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "StartAccountNotifications",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"Five": {
"Function": "Pictures",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "AppSuggestions",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"Six": {
"Function": "Videos",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
}
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UI & Personalization",
"Control": "chk",
"Required": "false",
"Function": "PinToStart -Tiles",
"Arg": {
"Zero": {
"Tag": "ControlPanel"
},
"One": {
"Tag": "DevicesPrinters"
}
},
"Preset": "012",
"WindowsDefault": ""
},
{
"Region": "UI & Personalization",
"Control": "chk",
"Required": "false",
"Function": "PinToStart -UnpinAll",
"Arg": {
"Zero": {
"Tag": ""
}
},
"Preset": "",
"WindowsDefault": ""
},
{
"Region": "OneDrive",
"Control": "cmbchkalter",
@ -1720,86 +1813,6 @@
"Preset": "",
"WindowsDefault": ""
},
{
"Region": "Start menu",
"Control": "cmb",
"Required": "false",
"Function": "RecentlyAddedStartApps",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "Start menu",
"Control": "cmb",
"Required": "false",
"Function": "AppSuggestions",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "Start menu",
"Control": "chk",
"Required": "false",
"Function": "PinToStart -Tiles",
"Arg": {
"Zero": {
"Tag": "ControlPanel"
},
"One": {
"Tag": "DevicesPrinters"
},
"Two": {
"Tag": "PowerShell"
}
},
"Preset": "012",
"WindowsDefault": ""
},
{
"Region": "Start menu",
"Control": "chk",
"Required": "false",
"Function": "PinToStart -UnpinAll",
"Arg": {
"Zero": {
"Tag": ""
}
},
"Preset": "",
"WindowsDefault": ""
},
{
"Region": "Start menu",
"Control": "cmb",
"Required": "false",
"Function": "StartAccountNotifications",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UWP apps",
"Control": "chkchkalter",

194
Wrapper/Config/config_Windows_10_LTSC.json

@ -978,7 +978,7 @@
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "false",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
@ -995,7 +995,110 @@
}
},
"Preset": "Zero",
"WindowsDefault": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "RecentlyAddedStartApps",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "MostUsedStartApps",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "Zero"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "StartAccountNotifications",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "false",
"LTSC2021": "true"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "AppSuggestions",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "UI & Personalization",
"Control": "chk",
"Required": "false",
"Function": "PinToStart -Tiles",
"Arg": {
"Zero": {
"Tag": "ControlPanel"
},
"One": {
"Tag": "DevicesPrinters"
}
},
"Preset": "01",
"WindowsDefault": "",
"LTSC2019": "false",
"LTSC2021": "true"
},
{
"Region": "UI & Personalization",
"Control": "chk",
"Required": "false",
"Function": "PinToStart -UnpinAll",
"Arg": {
"Zero": {
"Tag": ""
}
},
"Preset": "",
"WindowsDefault": "",
"LTSC2019": "false",
"LTSC2021": "true"
},
@ -1230,9 +1333,25 @@
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2019": "false",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "WindowsLatestUpdate",
"Arg": {
"Zero": {
"Tag": "Disable"
},
"One": {
"Tag": "Enable"
}
},
"Preset": "Zero",
"WindowsDefault": "Zero"
},
{
"Region": "System",
"Control": "cmb",
@ -1732,75 +1851,6 @@
"LTSC2019": "false",
"LTSC2021": "true"
},
{
"Region": "Start menu",
"Control": "cmb",
"Required": "false",
"Function": "RecentlyAddedStartApps",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "Start menu",
"Control": "cmb",
"Required": "false",
"Function": "AppSuggestions",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "Start menu",
"Control": "chk",
"Required": "false",
"Function": "PinToStart -Tiles",
"Arg": {
"Zero": {
"Tag": "ControlPanel"
},
"One": {
"Tag": "DevicesPrinters"
}
},
"Preset": "01",
"WindowsDefault": "",
"LTSC2019": "false",
"LTSC2021": "true"
},
{
"Region": "Start menu",
"Control": "chk",
"Required": "false",
"Function": "PinToStart -UnpinAll",
"Arg": {
"Zero": {
"Tag": ""
}
},
"Preset": "",
"WindowsDefault": "",
"LTSC2019": "false",
"LTSC2021": "true"
},
{
"Region": "Gaming",
"Control": "cmb",

2
Wrapper/Config/config_Windows_11.json

@ -951,7 +951,7 @@
"WindowsDefault": "Zero"
},
{
"Region": "Start menu",
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "StartLayout",

2
Wrapper/Config/config_Windows_11_ARM.json

@ -935,7 +935,7 @@
"WindowsDefault": "Zero"
},
{
"Region": "Start menu",
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "StartLayout",

2
Wrapper/Config/config_Windows_11_LTSC.json

@ -974,7 +974,7 @@
"LTSC2024": "true"
},
{
"Region": "Start menu",
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "StartLayout",

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

File diff suppressed because it is too large

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

@ -1515,11 +1515,11 @@
"Arg": {
"Zero": {
"Tag": "Register",
"ToolTip": "Erstellt eine geplante Aufgabe \"Windows Cleanup\", um nicht verwendete Windows-Dateien und Updates zu bereinigen. Alle 30 Tage wird eine interaktive Toast-Benachrichtigung angezeigt. Die Aufgabe wird alle 30 Tage ausgeführt."
"ToolTip": "Erstellen Sie die geplante Aufgabe \"Windows Cleanup\" zum Bereinigen von nicht verwendeten Windows-Dateien und Updates. Alle 30 Tage wird eine interaktive Toast-Benachrichtigung angezeigt. Sie müssen den Windows Script Host aktivieren, damit die Funktion funktioniert."
},
"One": {
"Tag": "Delete",
"ToolTip": "Löscht geplante Aufgaben \"Windows-Bereinigung\" und \"Windows-Bereinigungsbenachrichtigung\", um nicht verwendeten Windows-Dateien und Updates zu bereinigen."
"ToolTip": "Löscht die geplanten Aufgaben \"Windows-Bereinigung\" und \"Windows-Bereinigungsbenachrichtigung\" zum Bereinigen von nicht verwendeten Windows-Dateien und Updates."
}
}
},
@ -1529,11 +1529,11 @@
"Arg": {
"Zero": {
"Tag": "Register",
"ToolTip": "Erstellt eine geplante Aufgabe \"SoftwareDistribution\", um den Ordner \"%SystemRoot%\\SoftwareDistribution\\Download\" zu bereinigen. Die Aufgabe wartet, bis der Windows-Update-Dienst seine Ausführung beendet hat. Die Aufgabe wird alle 90 Tage ausgeführt."
"ToolTip": "Erstellen Sie die geplante Aufgabe \"SoftwareDistribution\" zum Bereinigen des Ordners %SystemRoot%\\SoftwareDistribution\\Download. Die Aufgabe wartet, bis der Windows-Update-Dienst seine Ausführung beendet hat. Die Aufgabe wird alle 90 Tage ausgeführt."
},
"One": {
"Tag": "Delete",
"ToolTip": "Löscht die geplante Aufgabe \"SoftwareDistribution\", um den Ordner \"%SystemRoot%\\SoftwareDistribution\\Download\" zu bereinigen."
"ToolTip": "Löscht die geplante Aufgabe \"SoftwareDistribution\" zum Bereinigen des Ordners %SystemRoot%\\SoftwareDistribution\\Download."
}
}
},
@ -1543,11 +1543,11 @@
"Arg": {
"Zero": {
"Tag": "Register",
"ToolTip": "Erstellt eine geplante Aufgabe \"Temp\", um den Ordner %TEMP% zu bereinigen. Die Aufgabe wird alle 60 Tage ausgeführt."
"ToolTip": "Erstellt die \"Temp\" geplante Aufgabe zum bereinigen des Ordners %TEMP%. Nur Dateien, die älter als ein Tag sind werden gelöscht. Die Aufgabe wird alles 60 Tage ausgeführt. Sie müssen Windows-Script-Host aktivieren, damit die Funktion funktioniert."
},
"One": {
"Tag": "Delete",
"ToolTip": "Löscht die geplante Aufgabe \"Temp\", um den Ordner %TEMP% zu bereinigen."
"ToolTip": "Löscht die geplante Aufgabe \"Temp\" zum Bereinigen des Ordners %TEMP%."
}
}
},
@ -1557,11 +1557,11 @@
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Netzwerkschutz von Microsoft Defender Exploit Guard aktivieren."
"ToolTip": "Aktivieren Sie den Netzwerkschutz von Microsoft Defender Exploit Guard."
},
"One": {
"Tag": "Disable",
"ToolTip": "Netzwerkschutz von Microsoft Defender Exploit Guard deaktivieren (Standardwert)."
"ToolTip": "Deaktivieren Sie den Netzwerkschutz von Microsoft Defender Exploit Guard (Standardwert)."
}
}
},
@ -1571,11 +1571,11 @@
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Erkennung potenziell unerwünschter Apps aktivieren und diese blockieren."
"ToolTip": "Aktivieren Sie die Erkennung potenziell unerwünschter Anwendungen und blockieren Sie diese."
},
"One": {
"Tag": "Disable",
"ToolTip": "Erkennung potenziell unerwünschter Apps deaktivieren und diese blockieren (Standardwert)."
"ToolTip": "Erkennung von potenziell unerwünschten Anwendungen deaktivieren (Standardwert)."
}
}
},
@ -1627,11 +1627,11 @@
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Aktiviert die Protokollierung für alle PowerShell-Skripte, die in das Windows PowerShell-Ereignisprotokoll eingegeben werden."
"ToolTip": "Aktivieren Sie die Protokollierung für alle PowerShell-Skripte, die in das Windows PowerShell-Ereignisprotokoll eingegeben werden."
},
"One": {
"Tag": "Disable",
"ToolTip": "Deaktiviert die Protokollierung für alle PowerShell-Skripte, die in das Windows PowerShell-Ereignisprotokoll eingegeben werden (Standardwert)."
"ToolTip": "Deaktivieren Sie die Protokollierung für alle PowerShell-Skripte, die in das Windows PowerShell-Ereignisprotokoll eingegeben werden (Standardwert)."
}
}
},
@ -1655,11 +1655,11 @@
"Arg": {
"Zero": {
"Tag": "Disable",
"ToolTip": "Deaktiviert den \"Attachment Manager\", der Dateien, die aus dem Internet heruntergeladen wurden, als unsicher markiert."
"ToolTip": "Deaktivieren Sie den Anhang-Manager, der aus dem Internet heruntergeladene Dateien als unsicher markiert.."
},
"One": {
"Tag": "Enable",
"ToolTip": "Aktiviert den \"Attachment Manager\", der Dateien, die aus dem Internet heruntergeladen wurden, als unsicher markiert (Standardwert."
"ToolTip": "Aktivieren Sie den Anhang-Manager, der aus dem Internet heruntergeladene Dateien als unsicher markiert (Standardwert)."
}
}
},

120
Wrapper/Localizations/de-DE/tooltip_Windows_11_ARM.json

@ -243,34 +243,6 @@
}
}
},
{
"Region": "Privacy & Telemetry",
"Function": "StartRecommendationsTips",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Zeigen Sie im Startmenü keine Empfehlungen für Tipps, Verknüpfungen, neue Anwendungen und mehr an."
},
"One": {
"Tag": "Show",
"ToolTip": "Anzeigen von Empfehlungen für Tipps, Verknüpfungen, neue Anwendungen und mehr im Startmenü (Standardwert)."
}
}
},
{
"Region": "Privacy & Telemetry",
"Function": "StartAccountNotifications",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Keine Microsoft-Konto-Benachrichtigungen im Startmenü im Startmenü anzeigen."
},
"One": {
"Tag": "Show",
"ToolTip": "Anzeigen von Microsoft-Konto-Benachrichtigungen im Startmenü im Startmenü (Standardwert)."
}
}
},
{
"Region": "UI & Personalization",
"Function": "ThisPC",
@ -786,6 +758,34 @@
}
}
},
{
"Region": "UI & Personalization",
"Function": "RecentlyAddedStartApps",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Zuletzt hinzugefügte Apps nicht in Start anzeigen."
},
"One": {
"Tag": "Show",
"ToolTip": "Zuletzt hinzugefügte Apps in Start anzeigen (Standardwert)."
}
}
},
{
"Region": "UI & Personalization",
"Function": "MostUsedStartApps",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Die am häufigsten verwendeten Apps nicht in Start anzeigen (Standardwert)."
},
"One": {
"Tag": "Show",
"ToolTip": "Die am häufigsten verwendeten Apps in Start anzeigen."
}
}
},
{
"Region": "UI & Personalization",
"Function": "StartRecommendedSection",
@ -800,6 +800,52 @@
}
}
},
{
"Region": "Privacy & Telemetry",
"Function": "StartRecommendationsTips",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Zeigen Sie im Startmenü keine Empfehlungen für Tipps, Verknüpfungen, neue Anwendungen und mehr an."
},
"One": {
"Tag": "Show",
"ToolTip": "Anzeigen von Empfehlungen für Tipps, Verknüpfungen, neue Anwendungen und mehr im Startmenü (Standardwert)."
}
}
},
{
"Region": "Privacy & Telemetry",
"Function": "StartAccountNotifications",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Keine Microsoft-Konto-Benachrichtigungen im Startmenü im Startmenü anzeigen."
},
"One": {
"Tag": "Show",
"ToolTip": "Anzeigen von Microsoft-Konto-Benachrichtigungen im Startmenü im Startmenü (Standardwert)."
}
}
},
{
"Region": "UI & Personalization",
"Function": "StartLayout",
"Arg": {
"Zero": {
"Tag": "Default",
"ToolTip": "Standard-Startlayout anzeigen (Standardwert)."
},
"One": {
"Tag": "ShowMorePins",
"ToolTip": "Mehr Pins auf Start anzeigen."
},
"Two": {
"Tag": "ShowMoreRecommendations",
"ToolTip": "Weitere Empfehlungen auf Start anzeigen."
}
}
},
{
"Region": "OneDrive",
"Function": "OneDrive",
@ -1397,24 +1443,6 @@
}
}
},
{
"Region": "Start menu",
"Function": "StartLayout",
"Arg": {
"Zero": {
"Tag": "Default",
"ToolTip": "Standard-Startlayout anzeigen (Standardwert)."
},
"One": {
"Tag": "ShowMorePins",
"ToolTip": "Mehr Pins auf Start anzeigen."
},
"Two": {
"Tag": "ShowMoreRecommendations",
"ToolTip": "Weitere Empfehlungen auf Start anzeigen."
}
}
},
{
"Region": "UWP apps",
"Function": "Uninstall-UWPApps",

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

File diff suppressed because it is too large

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

@ -829,7 +829,7 @@
}
},
{
"Region": "Start menu",
"Region": "UI & Personalization",
"Function": "StartLayout",
"Arg": {
"Zero": {

2
Wrapper/Localizations/en-US/tooltip_Windows_11_ARM.json

@ -810,7 +810,7 @@
}
},
{
"Region": "Start menu",
"Region": "UI & Personalization",
"Function": "StartLayout",
"Arg": {
"Zero": {

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

File diff suppressed because it is too large

38
src/Sophia_Script_for_Windows_10/Import-TabCompletion.ps1

@ -30,25 +30,6 @@
#Requires -RunAsAdministrator
#Requires -Version 5.1
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
#region Initial Actions
$Global:Failed = $false
@ -85,6 +66,25 @@ if ($Global:Failed)
}
#endregion Initial Actions
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
$Parameters = @{
CommandName = "Sophia"
ParameterName = "Functions"

5980
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

File diff suppressed because it is too large

156
src/Sophia_Script_for_Windows_10/Sophia.ps1

@ -551,6 +551,55 @@ NavigationPaneExpand -Disable
# Expand to open folder on navigation pane
# Развернуть до открытой папки область навигации
# NavigationPaneExpand -Enable
# Hide recently added apps on Start
# Скрывать недавно добавленные приложения в меню "Пуск"
RecentlyAddedStartApps -Hide
# Show recently added apps on Start (default value)
# Показывать недавно добавленные приложения в меню "Пуск" (значение по умолчанию)
# RecentlyAddedStartApps -Show
# Hide most used apps in Start (default value)
# Не показывать наиболее часто используемые приложения на начальном экране (значение по умолчанию)
MostUsedStartApps -Hide
# Show most used Apps in Start
# Показывать наиболее часто используемые приложения на начальном экране
# MostUsedStartApps -Show
# Hide Microsoft account-related notifications in Start
# Не отображать на начальном экране уведомления, касающиеся учетной записи Microsoft
StartAccountNotifications -Hide
# Show Microsoft account-related notifications on Start (default value)
# Отображать на начальном экране уведомления, касающиеся учетной записи Microsoft (значение по умолчанию)
# StartAccountNotifications -Show
# Hide app suggestions on Start
# Скрывать рекомендации в меню "Пуск"
AppSuggestions -Hide
# Show app suggestions on Start (default value)
# Показывать рекомендации в меню "Пуск" (значение по умолчанию)
# AppSuggestions -Show
<#
Pin to Start the following shortcuts: Control Panel, Devices and Printers
Valid shortcuts values: ControlPanel and DevicesPrinters
Закрепить на начальном экране следующие ярлыки: Панель управления, Устройства и принтеры
Доступные значения: ControlPanel и DevicesPrinters
#>
PinToStart -Tiles ControlPanel, DevicesPrinters
# Unpin all tiles first and pin necessary ones
# Открепить все ярлыки и закрепить необходимые
# PinToStart -UnpinAll -Tiles ControlPanel, DevicesPrinters
# Unpin all the Start tiles
# Открепить все ярлыки от начального экрана
# PinToStart -UnpinAll
#endregion UI & Personalization
#region OneDrive
@ -653,38 +702,6 @@ UpdateMicrosoftProducts -Enable
# При обновлении Windows не получать обновления для других продуктов Майкрософт (значение по умолчанию)
# UpdateMicrosoftProducts -Disable
# Notify me when a restart is required to finish updating
# Уведомлять меня о необходимости перезагрузки для завершения обновления
RestartNotification -Show
# Do not notify me when a restart is required to finish updating (default value)
# Не yведомлять меня о необходимости перезагрузки для завершения обновления (значение по умолчанию)
# RestartNotification -Hide
# Restart as soon as possible to finish updating
# Перезапустить устройство как можно быстрее, чтобы завершить обновление
RestartDeviceAfterUpdate -Enable
# Don't restart as soon as possible to finish updating (default value)
# Не перезапускать устройство как можно быстрее, чтобы завершить обновление (значение по умолчанию)
# RestartDeviceAfterUpdate -Disable
# Automatically adjust active hours for me based on daily usage
# Автоматически изменять период активности для этого устройства на основе действий
ActiveHours -Automatically
# Manually adjust active hours for me based on daily usage (default value)
# Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)
# ActiveHours -Manually
# Do not get the latest updates as soon as they're available (default value)
# Не получать последние обновления, как только они будут доступны (значение по умолчанию)
WindowsLatestUpdate -Disable
# Get the latest updates as soon as they're available
# Получайте последние обновления, как только они будут доступны
# WindowsLatestUpdate -Enable
# Set power plan on "High performance". Not recommended for laptops
# Установить схему управления питанием на "Высокая производительность". Не рекомендуется для ноутбуков
PowerPlan -High
@ -856,6 +873,38 @@ NetworkDiscovery -Enable
# Выключить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп (значение по умолчанию)
# NetworkDiscovery -Disable
# Notify me when a restart is required to finish updating
# Уведомлять меня о необходимости перезагрузки для завершения обновления
RestartNotification -Show
# Do not notify me when a restart is required to finish updating (default value)
# Не yведомлять меня о необходимости перезагрузки для завершения обновления (значение по умолчанию)
# RestartNotification -Hide
# Restart as soon as possible to finish updating
# Перезапустить устройство как можно быстрее, чтобы завершить обновление
RestartDeviceAfterUpdate -Enable
# Don't restart as soon as possible to finish updating (default value)
# Не перезапускать устройство как можно быстрее, чтобы завершить обновление (значение по умолчанию)
# RestartDeviceAfterUpdate -Disable
# Automatically adjust active hours for me based on daily usage
# Автоматически изменять период активности для этого устройства на основе действий
ActiveHours -Automatically
# Manually adjust active hours for me based on daily usage (default value)
# Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)
# ActiveHours -Manually
# Do not get the latest updates as soon as they're available (default value)
# Не получать последние обновления, как только они будут доступны (значение по умолчанию)
WindowsLatestUpdate -Disable
# Get the latest updates as soon as they're available
# Получайте последние обновления, как только они будут доступны
# WindowsLatestUpdate -Enable
<#
Register app, calculate hash, and associate with an extension with the "How do you want to open this" pop-up hidden
Зарегистрировать приложение, вычислить хэш и ассоциировать его с расширением без всплывающего окна "Каким образом вы хотите открыть этот файл?"
@ -931,49 +980,6 @@ RegistryBackup -Enable
# Install-WSL
#endregion WSL
#region Start menu
# Hide recently added apps on Start
# Скрывать недавно добавленные приложения в меню "Пуск"
RecentlyAddedStartApps -Hide
# Show recently added apps on Start (default value)
# Показывать недавно добавленные приложения в меню "Пуск" (значение по умолчанию)
# RecentlyAddedStartApps -Show
# Hide app suggestions on Start
# Скрывать рекомендации в меню "Пуск"
AppSuggestions -Hide
# Show app suggestions on Start (default value)
# Показывать рекомендации в меню "Пуск" (значение по умолчанию)
# AppSuggestions -Show
<#
Pin to Start the following shortcuts: Control Panel, Devices and Printers
Valid shortcuts values: ControlPanel and DevicesPrinters
Закрепить на начальном экране следующие ярлыки: Панель управления, Устройства и принтеры
Доступные значения: ControlPanel и DevicesPrinters
#>
PinToStart -Tiles ControlPanel, DevicesPrinters
# Unpin all tiles first and pin necessary ones
# Открепить все ярлыки и закрепить необходимые
# PinToStart -UnpinAll -Tiles ControlPanel, DevicesPrinters
# Unpin all the Start tiles
# Открепить все ярлыки от начального экрана
# PinToStart -UnpinAll
# Hide Microsoft account-related notifications in Start
# Не отображать на начальном экране уведомления, касающиеся учетной записи Microsoft
StartAccountNotifications -Hide
# Show Microsoft account-related notifications on Start (default value)
# Отображать на начальном экране уведомления, касающиеся учетной записи Microsoft (значение по умолчанию)
# StartAccountNotifications -Show
#endregion Start menu
#region UWP apps
# Uninstall UWP apps using the pop-up dialog box
# Удалить UWP-приложения, используя всплывающее диалоговое окно

38
src/Sophia_Script_for_Windows_10_LTSC_2019/Import-TabCompletion.ps1

@ -30,25 +30,6 @@
#Requires -RunAsAdministrator
#Requires -Version 5.1
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
#region Initial Actions
$Global:Failed = $false
@ -85,6 +66,25 @@ if ($Global:Failed)
}
#endregion Initial Actions
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
$Parameters = @{
CommandName = "Sophia"
ParameterName = "Functions"

308
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -2996,6 +2996,192 @@ function NavigationPaneExpand
}
}
}
<#
.SYNOPSIS
Recently added apps on Start
.PARAMETER Hide
Hide recently added apps on Start
.PARAMETER Show
Show recently added apps on Start
.EXAMPLE
RecentlyAddedStartApps -Hide
.EXAMPLE
RecentlyAddedStartApps -Show
.NOTES
Machine-wide
#>
function RecentlyAddedStartApps
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Hide"
)]
[switch]
$Hide,
[Parameter(
Mandatory = $true,
ParameterSetName = "Show"
)]
[switch]
$Show
)
# Remove all policies in order to make changes visible in UI
Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer, HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Force -ErrorAction Ignore
Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Type DELETE
Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Type DELETE
switch ($PSCmdlet.ParameterSetName)
{
"Hide"
{
if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer))
{
New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force
}
New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -PropertyType DWord -Value 1 -Force
Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Type DWORD -Value 1
}
"Show"
{
Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Force -ErrorAction Ignore
Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Type DELETE
}
}
}
<#
.SYNOPSIS
Most used apps in Start
.PARAMETER Hide
Hide most used Apps in Start
.PARAMETER Show
Show most used Apps in Start (default value)
.EXAMPLE
MostUsedStartApps -Hide
.EXAMPLE
MostUsedStartApps -Show
.NOTES
Current user
#>
function MostUsedStartApps
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Hide"
)]
[switch]
$Hide,
[Parameter(
Mandatory = $true,
ParameterSetName = "Show"
)]
[switch]
$Show
)
# Remove all policies in order to make changes visible in UI
Remove-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoStartMenuMFUprogramsList -Force -ErrorAction Ignore
Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoStartMenuMFUprogramsList -Type DELETE
if (Get-Process -Name Start11Srv, StartAllBackCfg, StartMenu -ErrorAction Ignore)
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message ($Localization.CustomStartMenu, ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
Write-Error -Message ($Localization.CustomStartMenu, ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -ErrorAction SilentlyContinue
return
}
switch ($PSCmdlet.ParameterSetName)
{
"Hide"
{
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoStartMenuMFUprogramsList -PropertyType DWord -Value 1 -Force
Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoStartMenuMFUprogramsList -Type DWORD -Value 1
}
"Show"
{
Remove-ItemProperty -Path HKCU:\NoStartMenuMFUprogramsList -Name Start_TrackProgs -Force -ErrorAction Ignore
Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoStartMenuMFUprogramsList-Type DELETE
Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoStartMenuMFUprogramsList-Type DELETE
Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name NoInstrumentation-Type DELETE
}
}
}
<#
.SYNOPSIS
App suggestions on Start
.PARAMETER Hide
Hide app suggestions on Start
.PARAMETER Show
Show app suggestions on Start
.EXAMPLE
AppSuggestions -Hide
.EXAMPLE
AppSuggestions -Show
.NOTES
Current user
#>
function AppSuggestions
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Hide"
)]
[switch]
$Hide,
[Parameter(
Mandatory = $true,
ParameterSetName = "Show"
)]
[switch]
$Show
)
# Remove all policies in order to make changes visible in UI
Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent -Name DisableWindowsConsumerFeatures -Force -ErrorAction Ignore
Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\CloudContent -Name DisableWindowsConsumerFeatures -Type DELETE
switch ($PSCmdlet.ParameterSetName)
{
"Hide"
{
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 0 -Force
}
"Show"
{
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 1 -Force
}
}
}
#endregion UI & Personalization
#region System
@ -7214,126 +7400,6 @@ function RegistryBackup
}
#endregion System
#region Start menu
<#
.SYNOPSIS
Recently added apps on Start
.PARAMETER Hide
Hide recently added apps on Start
.PARAMETER Show
Show recently added apps on Start
.EXAMPLE
RecentlyAddedStartApps -Hide
.EXAMPLE
RecentlyAddedStartApps -Show
.NOTES
Machine-wide
#>
function RecentlyAddedStartApps
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Hide"
)]
[switch]
$Hide,
[Parameter(
Mandatory = $true,
ParameterSetName = "Show"
)]
[switch]
$Show
)
# Remove all policies in order to make changes visible in UI
Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer, HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Force -ErrorAction Ignore
Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Type DELETE
Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Type DELETE
switch ($PSCmdlet.ParameterSetName)
{
"Hide"
{
if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer))
{
New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force
}
New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -PropertyType DWord -Value 1 -Force
Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Type DWORD -Value 1
}
"Show"
{
Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Force -ErrorAction Ignore
Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name HideRecentlyAddedApps -Type DELETE
}
}
}
<#
.SYNOPSIS
App suggestions on Start
.PARAMETER Hide
Hide app suggestions on Start
.PARAMETER Show
Show app suggestions on Start
.EXAMPLE
AppSuggestions -Hide
.EXAMPLE
AppSuggestions -Show
.NOTES
Current user
#>
function AppSuggestions
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Hide"
)]
[switch]
$Hide,
[Parameter(
Mandatory = $true,
ParameterSetName = "Show"
)]
[switch]
$Show
)
# Remove all policies in order to make changes visible in UI
Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent -Name DisableWindowsConsumerFeatures -Force -ErrorAction Ignore
Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\CloudContent -Name DisableWindowsConsumerFeatures -Type DELETE
switch ($PSCmdlet.ParameterSetName)
{
"Hide"
{
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 0 -Force
}
"Show"
{
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 1 -Force
}
}
}
#endregion Start menu
#region Scheduled tasks
<#
.SYNOPSIS
@ -9308,7 +9374,7 @@ function ShareContext
.NOTES
Current user
#>
function EditWithPaint3DContext ###
function EditWithPaint3DContext
{
param
(

42
src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1

@ -430,6 +430,30 @@ NavigationPaneExpand -Disable
# Expand to open folder on navigation pane
# Развернуть до открытой папки область навигации
# NavigationPaneExpand -Enable
# Hide recently added apps on Start
# Скрывать недавно добавленные приложения в меню "Пуск"
RecentlyAddedStartApps -Hide
# Show recently added apps on Start (default value)
# Показывать недавно добавленные приложения в меню "Пуск" (значение по умолчанию)
# RecentlyAddedStartApps -Show
# Hide most used apps in Start (default value)
# Не показывать наиболее часто используемые приложения на начальном экране (значение по умолчанию)
MostUsedStartApps -Hide
# Show most used Apps in Start
# Показывать наиболее часто используемые приложения на начальном экране
# MostUsedStartApps -Show
# Hide app suggestions on Start
# Скрывать рекомендации в меню "Пуск"
AppSuggestions -Hide
# Show app suggestions on Start (default value)
# Показывать рекомендации в меню "Пуск" (значение по умолчанию)
# AppSuggestions -Show
#endregion UI & Personalization
#region System
@ -728,24 +752,6 @@ RegistryBackup -Enable
# RegistryBackup -Disable
#endregion System
#region Start menu
# Hide recently added apps on Start
# Скрывать недавно добавленные приложения в меню "Пуск"
RecentlyAddedStartApps -Hide
# Show recently added apps on Start (default value)
# Показывать недавно добавленные приложения в меню "Пуск" (значение по умолчанию)
# RecentlyAddedStartApps -Show
# Hide app suggestions on Start
# Скрывать рекомендации в меню "Пуск"
AppSuggestions -Hide
# Show app suggestions on Start (default value)
# Показывать рекомендации в меню "Пуск" (значение по умолчанию)
# AppSuggestions -Show
#endregion Start menu
#region Scheduled tasks
<#
Create the "Windows Cleanup" scheduled task for cleaning up Windows unused files and updates.

38
src/Sophia_Script_for_Windows_10_LTSC_2021/Import-TabCompletion.ps1

@ -30,25 +30,6 @@
#Requires -RunAsAdministrator
#Requires -Version 5.1
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
#region Initial Actions
$Global:Failed = $false
@ -85,6 +66,25 @@ if ($Global:Failed)
}
#endregion Initial Actions
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
$Parameters = @{
CommandName = "Sophia"
ParameterName = "Functions"

2737
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

File diff suppressed because it is too large

140
src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1

@ -486,6 +486,55 @@ NavigationPaneExpand -Disable
# Expand to open folder on navigation pane
# Развернуть до открытой папки область навигации
# NavigationPaneExpand -Enable
# Hide recently added apps on Start
# Скрывать недавно добавленные приложения в меню "Пуск"
RecentlyAddedStartApps -Hide
# Show recently added apps on Start (default value)
# Показывать недавно добавленные приложения в меню "Пуск" (значение по умолчанию)
# RecentlyAddedStartApps -Show
# Hide most used apps in Start (default value)
# Не показывать наиболее часто используемые приложения на начальном экране (значение по умолчанию)
MostUsedStartApps -Hide
# Show most used Apps in Start
# Показывать наиболее часто используемые приложения на начальном экране
# MostUsedStartApps -Show
# Hide Microsoft account-related notifications in Start
# Не отображать на начальном экране уведомления, касающиеся учетной записи Microsoft
StartAccountNotifications -Hide
# Show Microsoft account-related notifications on Start (default value)
# Отображать на начальном экране уведомления, касающиеся учетной записи Microsoft (значение по умолчанию)
# StartAccountNotifications -Show
# Hide app suggestions on Start
# Скрывать рекомендации в меню "Пуск"
AppSuggestions -Hide
# Show app suggestions on Start (default value)
# Показывать рекомендации в меню "Пуск" (значение по умолчанию)
# AppSuggestions -Show
<#
Pin to Start the following shortcuts: Control Panel, Devices and Printers
Valid shortcuts values: ControlPanel and DevicesPrinters
Закрепить на начальном экране следующие ярлыки: Панель управления, Устройства и принтеры
Доступные значения: ControlPanel и DevicesPrinters
#>
PinToStart -Tiles ControlPanel, DevicesPrinters
# Unpin all tiles first and pin necessary ones
# Открепить все ярлыки и закрепить необходимые
# PinToStart -UnpinAll -Tiles ControlPanel, DevicesPrinters
# Unpin all the Start tiles
# Открепить все ярлыки от начального экрана
# PinToStart -UnpinAll
#endregion UI & Personalization
#region System
@ -574,30 +623,6 @@ UpdateMicrosoftProducts -Enable
# При обновлении Windows не получать обновления для других продуктов Майкрософт (значение по умолчанию)
# UpdateMicrosoftProducts -Disable
# Notify me when a restart is required to finish updating
# Уведомлять меня о необходимости перезагрузки для завершения обновления
RestartNotification -Show
# Do not notify me when a restart is required to finish updating (default value)
# Не yведомлять меня о необходимости перезагрузки для завершения обновления (значение по умолчанию)
# RestartNotification -Hide
# Restart as soon as possible to finish updating
# Перезапустить устройство как можно быстрее, чтобы завершить обновление
RestartDeviceAfterUpdate -Enable
# Don't restart as soon as possible to finish updating (default value)
# Не перезапускать устройство как можно быстрее, чтобы завершить обновление (значение по умолчанию)
# RestartDeviceAfterUpdate -Disable
# Automatically adjust active hours for me based on daily usage
# Автоматически изменять период активности для этого устройства на основе действий
ActiveHours -Automatically
# Manually adjust active hours for me based on daily usage (default value)
# Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)
# ActiveHours -Manually
# Set power plan on "High performance". Not recommended for laptops
# Установить схему управления питанием на "Высокая производительность". Не рекомендуется для ноутбуков
PowerPlan -High
@ -769,6 +794,38 @@ NetworkDiscovery -Enable
# Выключить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп (значение по умолчанию)
# NetworkDiscovery -Disable
# Notify me when a restart is required to finish updating
# Уведомлять меня о необходимости перезагрузки для завершения обновления
RestartNotification -Show
# Do not notify me when a restart is required to finish updating (default value)
# Не yведомлять меня о необходимости перезагрузки для завершения обновления (значение по умолчанию)
# RestartNotification -Hide
# Restart as soon as possible to finish updating
# Перезапустить устройство как можно быстрее, чтобы завершить обновление
RestartDeviceAfterUpdate -Enable
# Don't restart as soon as possible to finish updating (default value)
# Не перезапускать устройство как можно быстрее, чтобы завершить обновление (значение по умолчанию)
# RestartDeviceAfterUpdate -Disable
# Automatically adjust active hours for me based on daily usage
# Автоматически изменять период активности для этого устройства на основе действий
ActiveHours -Automatically
# Manually adjust active hours for me based on daily usage (default value)
# Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)
# ActiveHours -Manually
# Do not get the latest updates as soon as they're available (default value)
# Не получать последние обновления, как только они будут доступны (значение по умолчанию)
WindowsLatestUpdate -Disable
# Get the latest updates as soon as they're available
# Получайте последние обновления, как только они будут доступны
# WindowsLatestUpdate -Enable
<#
Register app, calculate hash, and associate with an extension with the "How do you want to open this" pop-up hidden
Зарегистрировать приложение, вычислить хэш и ассоциировать его с расширением без всплывающего окна "Каким образом вы хотите открыть этот файл?"
@ -833,41 +890,6 @@ RegistryBackup -Enable
# Install-WSL
#endregion WSL
#region Start menu
# Hide recently added apps on Start
# Скрывать недавно добавленные приложения в меню "Пуск"
RecentlyAddedStartApps -Hide
# Show recently added apps on Start (default value)
# Показывать недавно добавленные приложения в меню "Пуск" (значение по умолчанию)
# RecentlyAddedStartApps -Show
# Hide app suggestions on Start
# Скрывать рекомендации в меню "Пуск"
AppSuggestions -Hide
# Show app suggestions on Start (default value)
# Показывать рекомендации в меню "Пуск" (значение по умолчанию)
# AppSuggestions -Show
<#
Pin to Start the following shortcuts: Control Panel, Devices and Printers
Valid shortcuts values: ControlPanel and DevicesPrinters
Закрепить на начальном экране следующие ярлыки: Панель управления, Устройства и принтеры
Доступные значения: ControlPanel и DevicesPrinters
#>
PinToStart -Tiles ControlPanel, DevicesPrinters
# Unpin all tiles first and pin necessary ones
# Открепить все ярлыки и закрепить необходимые
# PinToStart -UnpinAll -Tiles ControlPanel, DevicesPrinters
# Unpin all the Start tiles
# Открепить все ярлыки от начального экрана
# PinToStart -UnpinAll
#endregion Start menu
#region Gaming
<#
Turn on hardware-accelerated GPU scheduling. Restart needed

38
src/Sophia_Script_for_Windows_10_PowerShell_7/Import-TabCompletion.ps1

@ -30,25 +30,6 @@
#Requires -RunAsAdministrator
#Requires -Version 7.5
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
#region Initial Actions
$Global:Failed = $false
@ -85,6 +66,25 @@ if ($Global:Failed)
}
#endregion Initial Actions
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
$Parameters = @{
CommandName = "Sophia"
ParameterName = "Functions"

5982
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

File diff suppressed because it is too large

156
src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1

@ -551,6 +551,55 @@ NavigationPaneExpand -Disable
# Expand to open folder on navigation pane
# Развернуть до открытой папки область навигации
# NavigationPaneExpand -Enable
# Hide recently added apps on Start
# Скрывать недавно добавленные приложения в меню "Пуск"
RecentlyAddedStartApps -Hide
# Show recently added apps on Start (default value)
# Показывать недавно добавленные приложения в меню "Пуск" (значение по умолчанию)
# RecentlyAddedStartApps -Show
# Hide most used apps in Start (default value)
# Не показывать наиболее часто используемые приложения на начальном экране (значение по умолчанию)
MostUsedStartApps -Hide
# Show most used Apps in Start
# Показывать наиболее часто используемые приложения на начальном экране
# MostUsedStartApps -Show
# Hide Microsoft account-related notifications in Start
# Не отображать на начальном экране уведомления, касающиеся учетной записи Microsoft
StartAccountNotifications -Hide
# Show Microsoft account-related notifications on Start (default value)
# Отображать на начальном экране уведомления, касающиеся учетной записи Microsoft (значение по умолчанию)
# StartAccountNotifications -Show
# Hide app suggestions on Start
# Скрывать рекомендации в меню "Пуск"
AppSuggestions -Hide
# Show app suggestions on Start (default value)
# Показывать рекомендации в меню "Пуск" (значение по умолчанию)
# AppSuggestions -Show
<#
Pin to Start the following shortcuts: Control Panel, Devices and Printers
Valid shortcuts values: ControlPanel and DevicesPrinters
Закрепить на начальном экране следующие ярлыки: Панель управления, Устройства и принтеры
Доступные значения: ControlPanel и DevicesPrinters
#>
PinToStart -Tiles ControlPanel, DevicesPrinters
# Unpin all tiles first and pin necessary ones
# Открепить все ярлыки и закрепить необходимые
# PinToStart -UnpinAll -Tiles ControlPanel, DevicesPrinters
# Unpin all the Start tiles
# Открепить все ярлыки от начального экрана
# PinToStart -UnpinAll
#endregion UI & Personalization
#region OneDrive
@ -653,38 +702,6 @@ UpdateMicrosoftProducts -Enable
# При обновлении Windows не получать обновления для других продуктов Майкрософт (значение по умолчанию)
# UpdateMicrosoftProducts -Disable
# Notify me when a restart is required to finish updating
# Уведомлять меня о необходимости перезагрузки для завершения обновления
RestartNotification -Show
# Do not notify me when a restart is required to finish updating (default value)
# Не yведомлять меня о необходимости перезагрузки для завершения обновления (значение по умолчанию)
# RestartNotification -Hide
# Restart as soon as possible to finish updating
# Перезапустить устройство как можно быстрее, чтобы завершить обновление
RestartDeviceAfterUpdate -Enable
# Don't restart as soon as possible to finish updating (default value)
# Не перезапускать устройство как можно быстрее, чтобы завершить обновление (значение по умолчанию)
# RestartDeviceAfterUpdate -Disable
# Automatically adjust active hours for me based on daily usage
# Автоматически изменять период активности для этого устройства на основе действий
ActiveHours -Automatically
# Manually adjust active hours for me based on daily usage (default value)
# Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)
# ActiveHours -Manually
# Do not get the latest updates as soon as they're available (default value)
# Не получать последние обновления, как только они будут доступны (значение по умолчанию)
WindowsLatestUpdate -Disable
# Get the latest updates as soon as they're available
# Получайте последние обновления, как только они будут доступны
# WindowsLatestUpdate -Enable
# Set power plan on "High performance". Not recommended for laptops
# Установить схему управления питанием на "Высокая производительность". Не рекомендуется для ноутбуков
PowerPlan -High
@ -856,6 +873,38 @@ NetworkDiscovery -Enable
# Выключить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп (значение по умолчанию)
# NetworkDiscovery -Disable
# Notify me when a restart is required to finish updating
# Уведомлять меня о необходимости перезагрузки для завершения обновления
RestartNotification -Show
# Do not notify me when a restart is required to finish updating (default value)
# Не yведомлять меня о необходимости перезагрузки для завершения обновления (значение по умолчанию)
# RestartNotification -Hide
# Restart as soon as possible to finish updating
# Перезапустить устройство как можно быстрее, чтобы завершить обновление
RestartDeviceAfterUpdate -Enable
# Don't restart as soon as possible to finish updating (default value)
# Не перезапускать устройство как можно быстрее, чтобы завершить обновление (значение по умолчанию)
# RestartDeviceAfterUpdate -Disable
# Automatically adjust active hours for me based on daily usage
# Автоматически изменять период активности для этого устройства на основе действий
ActiveHours -Automatically
# Manually adjust active hours for me based on daily usage (default value)
# Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)
# ActiveHours -Manually
# Do not get the latest updates as soon as they're available (default value)
# Не получать последние обновления, как только они будут доступны (значение по умолчанию)
WindowsLatestUpdate -Disable
# Get the latest updates as soon as they're available
# Получайте последние обновления, как только они будут доступны
# WindowsLatestUpdate -Enable
<#
Register app, calculate hash, and associate with an extension with the "How do you want to open this" pop-up hidden
Зарегистрировать приложение, вычислить хэш и ассоциировать его с расширением без всплывающего окна "Каким образом вы хотите открыть этот файл?"
@ -931,49 +980,6 @@ RegistryBackup -Enable
# Install-WSL
#endregion WSL
#region Start menu
# Hide recently added apps on Start
# Скрывать недавно добавленные приложения в меню "Пуск"
RecentlyAddedStartApps -Hide
# Show recently added apps on Start (default value)
# Показывать недавно добавленные приложения в меню "Пуск" (значение по умолчанию)
# RecentlyAddedStartApps -Show
# Hide app suggestions on Start
# Скрывать рекомендации в меню "Пуск"
AppSuggestions -Hide
# Show app suggestions on Start (default value)
# Показывать рекомендации в меню "Пуск" (значение по умолчанию)
# AppSuggestions -Show
<#
Pin to Start the following shortcuts: Control Panel, Devices and Printers
Valid shortcuts values: ControlPanel and DevicesPrinters
Закрепить на начальном экране следующие ярлыки: Панель управления, Устройства и принтеры
Доступные значения: ControlPanel и DevicesPrinters
#>
PinToStart -Tiles ControlPanel, DevicesPrinters
# Unpin all tiles first and pin necessary ones
# Открепить все ярлыки и закрепить необходимые
# PinToStart -UnpinAll -Tiles ControlPanel, DevicesPrinters
# Unpin all the Start tiles
# Открепить все ярлыки от начального экрана
# PinToStart -UnpinAll
# Hide Microsoft account-related notifications in Start
# Не отображать на начальном экране уведомления, касающиеся учетной записи Microsoft
StartAccountNotifications -Hide
# Show Microsoft account-related notifications on Start (default value)
# Отображать на начальном экране уведомления, касающиеся учетной записи Microsoft (значение по умолчанию)
# StartAccountNotifications -Show
#endregion Start menu
#region UWP apps
# Uninstall UWP apps using the pop-up dialog box
# Удалить UWP-приложения, используя всплывающее диалоговое окно

BIN
src/Sophia_Script_for_Windows_11/Binaries/LGPO.exe

Binary file not shown.

38
src/Sophia_Script_for_Windows_11/Import-TabCompletion.ps1

@ -30,25 +30,6 @@
#Requires -RunAsAdministrator
#Requires -Version 5.1
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
#region Initial Actions
$Global:Failed = $false
@ -85,6 +66,25 @@ if ($Global:Failed)
}
#endregion Initial Actions
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
$Parameters = @{
CommandName = "Sophia"
ParameterName = "Functions"

38
src/Sophia_Script_for_Windows_11_ARM/Import-TabCompletion.ps1

@ -30,25 +30,6 @@
#Requires -RunAsAdministrator
#Requires -Version 5.1
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
#region Initial Actions
$Global:Failed = $false
@ -85,6 +66,25 @@ if ($Global:Failed)
}
#endregion Initial Actions
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
$Parameters = @{
CommandName = "Sophia"
ParameterName = "Functions"

38
src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Import-TabCompletion.ps1

@ -30,25 +30,6 @@
#Requires -RunAsAdministrator
#Requires -Version 7.5
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
#region Initial Actions
$Global:Failed = $false
@ -85,6 +66,25 @@ if ($Global:Failed)
}
#endregion Initial Actions
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
$Parameters = @{
CommandName = "Sophia"
ParameterName = "Functions"

38
src/Sophia_Script_for_Windows_11_LTSC_2024/Import-TabCompletion.ps1

@ -30,25 +30,6 @@
#Requires -RunAsAdministrator
#Requires -Version 5.1
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
#region Initial Actions
$Global:Failed = $false
@ -85,6 +66,25 @@ if ($Global:Failed)
}
#endregion Initial Actions
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
$Parameters = @{
CommandName = "Sophia"
ParameterName = "Functions"

38
src/Sophia_Script_for_Windows_11_PowerShell_7/Import-TabCompletion.ps1

@ -30,25 +30,6 @@
#Requires -RunAsAdministrator
#Requires -Version 7.5
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
#region Initial Actions
$Global:Failed = $false
@ -85,6 +66,25 @@ if ($Global:Failed)
}
#endregion Initial Actions
function Sophia
{
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[string[]]
$Functions
)
foreach ($Function in $Functions)
{
Invoke-Expression -Command $Function
}
# The "PostActions" and "Errors" functions will be executed at the end
Invoke-Command -ScriptBlock {PostActions}
}
$Parameters = @{
CommandName = "Sophia"
ParameterName = "Functions"

Loading…
Cancel
Save