"ToolTip":"Unpin the \"Microsoft Edge\", \"Microsoft Store\", or \"Mail\" shortcuts from the taskbar",
"ToolTip":"Unpin the \"Microsoft Edge\", \"Microsoft Store\", or \"Mail\" shortcuts from the taskbar.",
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Edge",
"Tag":"Edge",
@ -1544,7 +1544,7 @@
{
{
"Region":"Start menu",
"Region":"Start menu",
"Function":"PinToStart -Tiles",
"Function":"PinToStart -Tiles",
"ToolTip":"Pin to Start the following shortcuts: Control Panel, Devices and Printers, PowerShell",
"ToolTip":"Pin to Start the following shortcuts: Control Panel, Devices and Printers, PowerShell.",
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"ControlPanel",
"Tag":"ControlPanel",
@ -1690,7 +1690,7 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Register",
"Tag":"Register",
"ToolTip":"Create the \"Windows Cleanup\" scheduled task for cleaning up Windows unused files and updates. A native interactive toast notification pops up every 30 days. You have to enable Windows Script Host in order to make the function work."
"ToolTip":"Create \"Windows Cleanup\" (main task) and \"Windows Cleanup Notification\" (task to generate a pop-up notification) tasks to clean up unused files and Windows updates in the Task Scheduler in the Sophia folder. A native notification prompting you to run the task will pop up before the cleanup begins. The task runs every 30 days. Windows Script Host must be enabled for the task to run."
},
},
"One":{
"One":{
"Tag":"Delete",
"Tag":"Delete",
@ -1704,7 +1704,7 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Register",
"Tag":"Register",
"ToolTip":"Create the \"SoftwareDistribution\" scheduled task for cleaning up the %SystemRoot%\\SoftwareDistribution\\Download folder. The task will wait until the Windows Updates service finishes running. The task runs every 90 days. You have to enable Windows Script Host in order to make the function work"
"ToolTip":"Create a \"SoftwareDistribution\" task to clean up the %SystemRoot%\\SoftwareDistribution\\Download folder where the installation files for all Windows updates are downloaded, in the Sophia folder in the Task Scheduler. The task will wait until the Windows Update service has finished running. The task runs every 90 days. Windows Script Host must be enabled for the task to run."
},
},
"One":{
"One":{
"Tag":"Delete",
"Tag":"Delete",
@ -1718,7 +1718,7 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Register",
"Tag":"Register",
"ToolTip":"Create the \"Temp\" scheduled task for cleaning up the %TEMP% folder. Only files older than one day will be deleted. The task runs every 60 days. You have to enable Windows Script Host in order to make the function work"
"ToolTip":"Create a \"Temp\" task in the Task Scheduler to clean up the %TEMP% folder. Only files older than one day will be deleted. The task runs every 60 days. Windows Script Host must be enabled for the task to run."
},
},
"One":{
"One":{
"Tag":"Delete",
"Tag":"Delete",
@ -1886,6 +1886,20 @@
}
}
}
}
},
},
{
"Region":"Microsoft Defender & Security",
"Function":"DNSoverHTTPS",
"Arg":{
"Zero":{
"Tag":"Enable",
"ToolTip":"Enable DNS-over-HTTPS for IPv4. The valid IPv4 addresses: 1.0.0.1, 1.1.1.1, 149.112.112.112, 8.8.4.4, 8.8.8.8, 9.9.9.9."
},
"One":{
"Tag":"Disable",
"ToolTip":"Disable DNS-over-HTTPS for IPv4 (default value)."
"ToolTip":"Unpin the \"Microsoft Edge\" and \"Microsoft Store\" shortcuts from the taskbar",
"ToolTip":"Unpin the \"Microsoft Edge\" and \"Microsoft Store\" shortcuts from the taskbar.",
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Edge",
"Tag":"Edge",
@ -606,6 +606,20 @@
}
}
}
}
},
},
{
"Region":"UI & Personalization",
"Function":"TaskbarEndTask",
"Arg":{
"Zero":{
"Tag":"Enable",
"ToolTip":"Enable end task in taskbar by right click."
},
"One":{
"Tag":"Disable",
"ToolTip":"Disable end task in taskbar by right click (default value)."
}
}
},
{
{
"Region":"UI & Personalization",
"Region":"UI & Personalization",
"Function":"ControlPanelView",
"Function":"ControlPanelView",
@ -1575,7 +1589,7 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Register",
"Tag":"Register",
"ToolTip":"Create the \"Windows Cleanup\" scheduled task for cleaning up Windows unused files and updates. A native interactive toast notification pops up every 30 days. You have to enable Windows Script Host in order to make the function work."
"ToolTip":"Create \"Windows Cleanup\" (main task) and \"Windows Cleanup Notification\" (task to generate a pop-up notification) tasks to clean up unused files and Windows updates in the Task Scheduler in the Sophia folder. A native notification prompting you to run the task will pop up before the cleanup begins. The task runs every 30 days. Windows Script Host must be enabled for the task to run."
},
},
"One":{
"One":{
"Tag":"Delete",
"Tag":"Delete",
@ -1589,7 +1603,7 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Register",
"Tag":"Register",
"ToolTip":"Create the \"SoftwareDistribution\" scheduled task for cleaning up the %SystemRoot%\\SoftwareDistribution\\Download folder. The task will wait until the Windows Updates service finishes running. The task runs every 90 days. You have to enable Windows Script Host in order to make the function work"
"ToolTip":"Create a \"SoftwareDistribution\" task to clean up the %SystemRoot%\\SoftwareDistribution\\Download folder where the installation files for all Windows updates are downloaded, in the Sophia folder in the Task Scheduler. The task will wait until the Windows Update service has finished running. The task runs every 90 days. Windows Script Host must be enabled for the task to run."
},
},
"One":{
"One":{
"Tag":"Delete",
"Tag":"Delete",
@ -1603,7 +1617,7 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Register",
"Tag":"Register",
"ToolTip":"Create the \"Temp\" scheduled task for cleaning up the %TEMP% folder. Only files older than one day will be deleted. The task runs every 60 days. You have to enable Windows Script Host in order to make the function work"
"ToolTip":"Create a \"Temp\" task in the Task Scheduler to clean up the %TEMP% folder. Only files older than one day will be deleted. The task runs every 60 days. Windows Script Host must be enabled for the task to run."
"ToolTip":"Скрыть секунды в системных часах на панели задач (значение по умолчанию)"
"ToolTip":"Скрыть секунды в системных часах на панели задач (значение по умолчанию)."
}
}
}
}
},
},
{
{
"Region":"UI & Personalization",
"Region":"UI & Personalization",
"Function":"UnpinTaskbarShortcuts -Shortcuts",
"Function":"UnpinTaskbarShortcuts -Shortcuts",
"ToolTip":"Открепить ярлыки \"Microsoft Edge\", \"Microsoft Store\" или \"Почта\" от панели задач",
"ToolTip":"Открепить ярлыки \"Microsoft Edge\", \"Microsoft Store\" или \"Почта\" от панели задач.",
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Edge",
"Tag":"Edge",
@ -840,11 +840,11 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Show",
"Tag":"Show",
"ToolTip":"Отобразить пользовательские папки в \"Этот компьютер\""
"ToolTip":"Отобразить пользовательские папки в \"Этот компьютер\"."
},
},
"One":{
"One":{
"Tag":"Hide",
"Tag":"Hide",
"ToolTip":"Скрыть пользовательские папки в \"Этот компьютер\""
"ToolTip":"Скрыть пользовательские папки в \"Этот компьютер\"."
}
}
}
}
},
},
@ -1544,7 +1544,7 @@
{
{
"Region":"Start menu",
"Region":"Start menu",
"Function":"PinToStart -Tiles",
"Function":"PinToStart -Tiles",
"ToolTip":"Закрепить на начальном экране следующие ярлыки: Панель управления, Устройства и принтеры, PowerShell",
"ToolTip":"Закрепить на начальном экране следующие ярлыки: Панель управления, Устройства и принтеры, PowerShell.",
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"ControlPanel",
"Tag":"ControlPanel",
@ -1690,7 +1690,7 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Register",
"Tag":"Register",
"ToolTip":"Создать задание \"Windows Cleanup\" по очистке неиспользуемых файлов и обновлений Windows в Планировщике заданий. Задание выполняется каждые 30 дней. Необходимо включить Windows Script Host для того, чтобы работала функция."
"ToolTip":"Создать задания \"Windows Cleanup\" (основное задание) и \"Windows Cleanup Notification\" (задание для создания всплывающего уведомления) по очистке неиспользуемых файлов и обновлений Windows в Планировщике заданий в папке Sophia. Перед началом очистки всплывет нативное уведомление Windows с предложением запустить задание. Задание выполняется каждые 30 дней. Для работы задания необходимо включить Windows Script Host."
},
},
"One":{
"One":{
"Tag":"Delete",
"Tag":"Delete",
@ -1704,7 +1704,7 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Register",
"Tag":"Register",
"ToolTip":"Создать задание \"SoftwareDistribution\" по очистке папки %SystemRoot%\\SoftwareDistribution\\Download в Планировщике заданий. Задание будет ждать, пока служба обновлений Windows не закончит работу. Задание выполняется каждые 90 дней. Необходимо включить Windows Script Host для того, чтобы работала функция."
"ToolTip":"Создать задание \"SoftwareDistribution\" по очистке папки %SystemRoot%\\SoftwareDistribution\\Download, куда скачиваются установочные файлы всех обновлений Windows, в папке Sophia в Планировщике заданий. Задание будет ждать, пока служба обновлений Windows не закончит работу. Задача выполняется каждые 90 дней. Необходимо включить Windows Script Host для того, чтобы работала функция."
"ToolTip":"Открепить ярлыки \"Microsoft Edge\", \"Microsoft Store\" от панели задач",
"ToolTip":"Открепить ярлыки \"Microsoft Edge\", \"Microsoft Store\" от панели задач.",
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Edge",
"Tag":"Edge",
@ -606,6 +606,20 @@
}
}
}
}
},
},
{
"Region":"UI & Personalization",
"Function":"TaskbarEndTask",
"Arg":{
"Zero":{
"Tag":"Enable",
"ToolTip":"Включить завершение задачи на панели задач правой кнопкой мыши."
},
"One":{
"Tag":"Disable",
"ToolTip":"Выключить завершение задачи на панели задач правой кнопкой мыши (default value)."
}
}
},
{
{
"Region":"UI & Personalization",
"Region":"UI & Personalization",
"Function":"ControlPanelView",
"Function":"ControlPanelView",
@ -1575,7 +1589,7 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Register",
"Tag":"Register",
"ToolTip":"Создать задание \"Windows Cleanup\" по очистке неиспользуемых файлов и обновлений Windows в Планировщике заданий. Задание выполняется каждые 30 дней. Необходимо включить Windows Script Host для того, чтобы работала функция."
"ToolTip":"Создать задания \"Windows Cleanup\" (основное задание) и \"Windows Cleanup Notification\" (задание для создания всплывающего уведомления) по очистке неиспользуемых файлов и обновлений Windows в Планировщике заданий в папке Sophia. Перед началом очистки всплывет нативное уведомление Windows с предложением запустить задание. Задание выполняется каждые 30 дней. Для работы задания необходимо включить Windows Script Host."
},
},
"One":{
"One":{
"Tag":"Delete",
"Tag":"Delete",
@ -1589,7 +1603,7 @@
"Arg":{
"Arg":{
"Zero":{
"Zero":{
"Tag":"Register",
"Tag":"Register",
"ToolTip":"Создать задание \"SoftwareDistribution\" по очистке папки %SystemRoot%\\SoftwareDistribution\\Download в Планировщике заданий. Задание будет ждать, пока служба обновлений Windows не закончит работу. Задание выполняется каждые 90 дней. Необходимо включить Windows Script Host для того, чтобы работала функция."
"ToolTip":"Создать задание \"SoftwareDistribution\" по очистке папки %SystemRoot%\\SoftwareDistribution\\Download, куда скачиваются установочные файлы всех обновлений Windows, в папке Sophia в Планировщике заданий. Задание будет ждать, пока служба обновлений Windows не закончит работу. Задача выполняется каждые 90 дней. Необходимо включить Windows Script Host для того, чтобы работала функция."
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 v5.18.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 v5.18.9 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
# wsl --list --online relies on Internet connection too, so it's much convenient to parse DistributionInfo.json, rather than parse a cmd output
# wsl --list --online relies on Internet connection too, so it's much convenient to parse DistributionInfo.json, rather than parse a cmd output
$Parameters=@{
$Parameters=@{
@ -10673,6 +10686,7 @@ function Install-WSL
Add-Type-AssemblyNameSystem.Windows.Forms
Add-Type-AssemblyNameSystem.Windows.Forms
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Defaultpresetfilefor"Sophia Script for Windows 10"
Defaultpresetfilefor"Sophia Script for Windows 10"
Version:v5.18.8
Version:v5.18.9
Date:06.07.2024
Date:16.08.2024
Copyright(c)2014—2024farag,Inestic&lowl1f3
Copyright(c)2014—2024farag,Inestic&lowl1f3
@ -69,7 +69,7 @@ param
Clear-Host
Clear-Host
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 v5.18.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 v5.18.9 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 LTSC 2019 v5.8.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 LTSC 2019 v5.8.9 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{($_.ProcessName-eq"powershell")-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2019")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{($_.ProcessName-eq"powershell")-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2019")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{($_.ProcessName-eq"powershell")-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2019")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{($_.ProcessName-eq"powershell")-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2019")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{($_.ProcessName-eq"powershell")-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2019")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{($_.ProcessName-eq"powershell")-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2019")}|ForEach-Object-Process{
Defaultpresetfilefor"Sophia Script for Windows 10 LTSC 2019"
Defaultpresetfilefor"Sophia Script for Windows 10 LTSC 2019"
Version:v5.8.8
Version:v5.8.9
Date:06.07.2024
Date:16.08.2024
Copyright(c)2014—2024farag,Inestic&lowl1f3
Copyright(c)2014—2024farag,Inestic&lowl1f3
@ -69,7 +69,7 @@ param
Clear-Host
Clear-Host
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 LTSC 2019 v5.8.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 LTSC 2019 v5.8.9 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 LTSC 2021 v5.18.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 LTSC 2021 v5.18.9 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
Get-Process|Where-Object-FilterScript{($_.ProcessName-eq"powershell")-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{($_.ProcessName-eq"powershell")-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2021")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2021")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2021")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2021")}|ForEach-Object-Process{
# wsl --list --online relies on Internet connection too, so it's much convenient to parse DistributionInfo.json, rather than parse a cmd output
# wsl --list --online relies on Internet connection too, so it's much convenient to parse DistributionInfo.json, rather than parse a cmd output
$Parameters=@{
$Parameters=@{
@ -9555,6 +9568,7 @@ function Install-WSL
Add-Type-AssemblyNameSystem.Windows.Forms
Add-Type-AssemblyNameSystem.Windows.Forms
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2021")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10 LTSC 2021")}|ForEach-Object-Process{
Defaultpresetfilefor"Sophia Script for Windows 10 LTSC 2021"
Defaultpresetfilefor"Sophia Script for Windows 10 LTSC 2021"
Version:v5.18.8
Version:v5.18.9
Date:06.07.2024
Date:16.08.2024
Copyright(c)2014—2024farag,Inestic&lowl1f3
Copyright(c)2014—2024farag,Inestic&lowl1f3
@ -69,7 +69,7 @@ param
Clear-Host
Clear-Host
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 LTSC 2021 v5.18.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 LTSC 2021 v5.18.9 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 v5.18.8 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 v5.18.9 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
# wsl --list --online relies on Internet connection too, so it's much convenient to parse DistributionInfo.json, rather than parse a cmd output
# wsl --list --online relies on Internet connection too, so it's much convenient to parse DistributionInfo.json, rather than parse a cmd output
$Parameters=@{
$Parameters=@{
@ -10679,6 +10692,7 @@ function Install-WSL
Add-Type-AssemblyNameSystem.Windows.Forms
Add-Type-AssemblyNameSystem.Windows.Forms
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 10")}|ForEach-Object-Process{
Defaultpresetfilefor"Sophia Script for Windows 10 (PowerShell 7)"
Defaultpresetfilefor"Sophia Script for Windows 10 (PowerShell 7)"
Version:v5.18.8
Version:v5.18.9
Date:06.07.2024
Date:16.08.2024
Copyright(c)2014—2024farag,Inestic&lowl1f3
Copyright(c)2014—2024farag,Inestic&lowl1f3
@ -69,7 +69,7 @@ param
Clear-Host
Clear-Host
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 v5.18.8 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 10 v5.18.9 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 11 v6.6.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 11 v6.6.9 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
# wsl --list --online relies on Internet connection too, so it's much convenient to parse DistributionInfo.json, rather than parse a cmd output
# wsl --list --online relies on Internet connection too, so it's much convenient to parse DistributionInfo.json, rather than parse a cmd output
$Parameters=@{
$Parameters=@{
@ -10285,6 +10372,7 @@ function Install-WSL
Add-Type-AssemblyNameSystem.Windows.Forms
Add-Type-AssemblyNameSystem.Windows.Forms
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Defaultpresetfilefor"Sophia Script for Windows 11"
Defaultpresetfilefor"Sophia Script for Windows 11"
Version:v6.6.8
Version:v6.6.9
Date:06.07.2024
Date:16.08.2024
Copyright(c)2014—2024farag,Inestic&lowl1f3
Copyright(c)2014—2024farag,Inestic&lowl1f3
@ -68,7 +68,7 @@ param
Clear-Host
Clear-Host
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 11 v6.6.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 11 v6.6.9 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 11 v6.6.8 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 11 v6.6.9 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
# wsl --list --online relies on Internet connection too, so it's much convenient to parse DistributionInfo.json, rather than parse a cmd output
# wsl --list --online relies on Internet connection too, so it's much convenient to parse DistributionInfo.json, rather than parse a cmd output
$Parameters=@{
$Parameters=@{
@ -10305,6 +10378,7 @@ function Install-WSL
Add-Type-AssemblyNameSystem.Windows.Forms
Add-Type-AssemblyNameSystem.Windows.Forms
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
# We cannot use Get-Process -Id $PID as script might be invoked via Terminal with different $PID
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Get-Process|Where-Object-FilterScript{(($_.ProcessName-eq"powershell")-or($_.ProcessName-eq"WindowsTerminal"))-and($_.MainWindowTitle-match"Sophia Script for Windows 11")}|ForEach-Object-Process{
Defaultpresetfilefor"Sophia Script for Windows 11 (PowerShell 7)"
Defaultpresetfilefor"Sophia Script for Windows 11 (PowerShell 7)"
Version:v6.6.8
Version:v6.6.9
Date:06.07.2024
Date:16.08.2024
Copyright(c)2014—2024farag,Inestic&lowl1f3
Copyright(c)2014—2024farag,Inestic&lowl1f3
@ -68,7 +68,7 @@ param
Clear-Host
Clear-Host
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 11 v6.6.8 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
$Host.UI.RawUI.WindowTitle="Sophia Script for Windows 11 v6.6.9 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2024"
Remove-Module-NameSophia-Force-ErrorActionIgnore
Remove-Module-NameSophia-Force-ErrorActionIgnore
@ -476,6 +476,14 @@ TaskbarCombine -Always
# Открепить ярлыки "Microsoft Edge", "Microsoft Store" от панели задач
# Открепить ярлыки "Microsoft Edge", "Microsoft Store" от панели задач
UnpinTaskbarShortcuts-ShortcutsEdge,Store
UnpinTaskbarShortcuts-ShortcutsEdge,Store
# Enable end task in taskbar by right click
# Включить завершение задачи на панели задач правой кнопкой мыши
TaskbarEndTask-Enable
# Disable end task in taskbar by right click (default value)
# Выключить завершение задачи на панели задач правой кнопкой мыши (значение по умолчанию)
# TaskbarEndTask -Disable
# View the Control Panel icons by large icons
# View the Control Panel icons by large icons
# Просмотр иконок Панели управления как: крупные значки
# Просмотр иконок Панели управления как: крупные значки