diff --git a/Sophia/Windows 11/Functions.ps1 b/Sophia/Windows 11/Functions.ps1 index aa62c674..bf26b5cc 100644 --- a/Sophia/Windows 11/Functions.ps1 +++ b/Sophia/Windows 11/Functions.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS The TAB completion for functions and their arguments - Version: v6.0.1 - Date: 05.08.2021 + Version: v6.0.2 + Date: 06.08.2021 Copyright (c) 2014–2021 farag Copyright (c) 2019–2021 farag & Inestic @@ -54,7 +54,7 @@ function Sophia Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.1 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014–2021" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.2 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014–2021" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force @@ -173,5 +173,5 @@ Write-Verbose -Message "Sophia -Functions " -Verbose Write-Verbose -Message "Sophia -Functions temp" -Verbose Write-Verbose -Message "Sophia -Functions `"DiagTrackService -Disable`", `"DiagnosticDataLevel -Minimal`", UninstallUWPApps" -Verbose Write-Information -MessageData "`n" -InformationAction Continue -Write-Verbose -Message "`nUninstallUWPApps, `"PinToStart -UnpinAll`"" -Verbose +Write-Verbose -Message "UninstallUWPApps, `"PinToStart -UnpinAll`"" -Verbose Write-Verbose -Message "`"Set-Association -ProgramPath ```"%ProgramFiles%\Notepad++\notepad++.exe```" -Extension .txt -Icon ```"%ProgramFiles%\Notepad++\notepad++.exe,0```"`"" -Verbose diff --git a/Sophia/Windows 11/Localizations/de-DE/Sophia.psd1 b/Sophia/Windows 11/Localizations/de-DE/Sophia.psd1 index f38a5328..bdebedea 100644 --- a/Sophia/Windows 11/Localizations/de-DE/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/de-DE/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = Das Skript unterstützt nur Windows 10 x64 -UnsupportedOSBuild = Das Skript unterstützt Windows 10 2004/20H2/21H1-Versionen und höher -UpdateWarning = Ihr Windows 10-Build: {0}.{1}.{2}.{3}. Unterstützter Build: 19041.1151 und höher +UnsupportedOSBitness = Das Skript unterstützt nur Windows 11 x64 +UnsupportedOSBuild = Das Skript unterstützt Windows 11 2004/20H2/21H1-Versionen und höher +UpdateWarning = Ihr Windows 11-Build: {0}.{1}. Unterstützter Build: 22000.120 und höher UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = Der angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = Sie versuchen, ein Skript über PowerShell {0} auszuführen. Führen Sie das Skript in der entsprechenden PowerShell-Version aus @@ -44,7 +44,7 @@ TempTaskNotificationEvent = Der Ordner mit den temporären Datei FolderTaskDescription = Die Bereinigung des Ordners "{0}" EventViewerCustomViewName = Prozess-Erstellung EventViewerCustomViewDescription = Ereignisse zur Prozesserstellung und Befehlszeilen-Auditierung -RestartWarning = \nAchten Sie darauf, Ihren PC neu zu starten +RestartWarning = Achten Sie darauf, Ihren PC neu zu starten ErrorsLine = Zeile ErrorsFile = Datei ErrorsMessage = Fehler/Warnungen diff --git a/Sophia/Windows 11/Localizations/en-US/Sophia.psd1 b/Sophia/Windows 11/Localizations/en-US/Sophia.psd1 index 476acd3e..42dca477 100644 --- a/Sophia/Windows 11/Localizations/en-US/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/en-US/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = The script supports Windows 10 x64 only -UnsupportedOSBuild = The script supports Windows 10 2004/20H2/21H1 versions and higher -UpdateWarning = Your Windows 10 build: {0}.{1}. Supported build: 19041.1151 and higher +UnsupportedOSBitness = The script supports Windows 11 x64 only +UnsupportedOSBuild = The script supports Windows 11 2004/20H2/21H1 versions and higher +UpdateWarning = Your Windows 11 build: {0}.{1}. Supported build: 22000.120 and higher UnsupportedLanguageMode = The PowerShell session in running in a limited language mode LoggedInUserNotAdmin = The logged-on user doesn't have admin rights UnsupportedPowerShell = You're trying to run script via PowerShell {0}. Run the script in the appropriate PowerShell version @@ -26,7 +26,7 @@ UserDefaultFolder = Would you like to change the locatio ReservedStorageIsInUse = This operation is not supported when reserved storage is in use\nPlease re-run the "{0}" function again after PC restart ShortcutPinning = The "{0}" shortcut is being pinned to Start UninstallUWPForAll = For all users -UWPAppsTitle = UWP pps +UWPAppsTitle = UWP apps WSLUpdateDownloading = Downloading the Linux kernel update package... ~14 MB WSLUpdateInstalling = Installing the Linux kernel update package... HEVCDownloading = Downloading HEVC Video Extensions from Device Manufacturer... ~2,8 MB @@ -44,7 +44,7 @@ TempTaskNotificationEvent = The temp files folder successfully c FolderTaskDescription = The {0} folder cleanup EventViewerCustomViewName = Process Creation EventViewerCustomViewDescription = Process creation and command-line auditing events -RestartWarning = \nMake sure to restart your PC +RestartWarning = Make sure to restart your PC ErrorsLine = Line ErrorsFile = File ErrorsMessage = Errors/Warnings diff --git a/Sophia/Windows 11/Localizations/es-ES/Sophia.psd1 b/Sophia/Windows 11/Localizations/es-ES/Sophia.psd1 index 50d9a02a..50be30d6 100644 --- a/Sophia/Windows 11/Localizations/es-ES/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/es-ES/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = El script sólo es compatible con Windows 10 x64 -UnsupportedOSBuild = El script es compatible con versión Windows 10 2004/20H2/21H1 y superiores -UpdateWarning = Su build de Windows 10: {0}.{1}.{2}.{3}. Compilación compatible: 19041.1151 y superiores +UnsupportedOSBitness = El script sólo es compatible con Windows 11 x64 +UnsupportedOSBuild = El script es compatible con versión Windows 11 2004/20H2/21H1 y superiores +UpdateWarning = Su build de Windows 11: {0}.{1}. Compilación compatible: 22000.120 y superiores UnsupportedLanguageMode = Sesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = El usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = Estás intentando ejecutar el script a través de PowerShell {0}. Ejecute el script en la versión apropiada de PowerShell @@ -44,7 +44,7 @@ TempTaskNotificationEvent = Los archivos de la carpeta Temp limp FolderTaskDescription = La limpieza de la carpeta "{0}" EventViewerCustomViewName = Creación de proceso EventViewerCustomViewDescription = Eventos de auditoría de línea de comandos y creación de procesos -RestartWarning = \nAsegúrese de reiniciar su PC +RestartWarning = Asegúrese de reiniciar su PC ErrorsLine = Línea ErrorsFile = Archivo ErrorsMessage = Errores/Advertencias diff --git a/Sophia/Windows 11/Localizations/fr-FR/Sophia.psd1 b/Sophia/Windows 11/Localizations/fr-FR/Sophia.psd1 index eef00963..9a7ebb94 100644 --- a/Sophia/Windows 11/Localizations/fr-FR/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/fr-FR/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = Le script supporte uniquement Windows 10 x64 -UnsupportedOSBuild = Le script supporte les versions Windows 10 2004/20H2/21H1 et ultérieures -UpdateWarning = Votre version de Windows 10 : {0}.{1}.{2}.{3}. Version prise en charge : 19041.1151 et ultérieures +UnsupportedOSBitness = Le script supporte uniquement Windows 11 x64 +UnsupportedOSBuild = Le script supporte les versions Windows 11 2004/20H2/21H1 et ultérieures +UpdateWarning = Votre version de Windows 11 : {0}.{1}. Version prise en charge : 22000.120 et ultérieures UnsupportedLanguageMode = La session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = L'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = Vous essayez d'exécuter le script via PowerShell {0}. Exécutez le script dans la version appropriée de PowerShell @@ -44,7 +44,7 @@ TempTaskNotificationEvent = Le dossier des fichiers temporaires FolderTaskDescription = Nettoyage du dossier "{0}" EventViewerCustomViewName = Création du processus EventViewerCustomViewDescription = Audit des événements de création du processus et de ligne de commande -RestartWarning = \nAssurez-vous de redémarrer votre PC +RestartWarning = Assurez-vous de redémarrer votre PC ErrorsLine = Ligne ErrorsFile = Fichier ErrorsMessage = Erreurs/Avertissements diff --git a/Sophia/Windows 11/Localizations/hu-HU/Sophia.psd1 b/Sophia/Windows 11/Localizations/hu-HU/Sophia.psd1 index 682efd6d..7402c953 100644 --- a/Sophia/Windows 11/Localizations/hu-HU/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/hu-HU/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = A szkript csak a Windows 10 64 bites verziót támogatja -UnsupportedOSBuild = A szkript a Windows 10 2004/20H2/21H1 és újabb kiadásokat támogatja -UpdateWarning = Az Ön Windows 10 építése: {0}.{1}.{2}.{3}. Támogatott build: 19041.1151 és magasabb verziószámok +UnsupportedOSBitness = A szkript csak a Windows 11 64 bites verziót támogatja +UnsupportedOSBuild = A szkript a Windows 11 2004/20H2/21H1 és újabb kiadásokat támogatja +UpdateWarning = Az Ön Windows 11 építése: {0}.{1}. Támogatott build: 22000.120 és magasabb verziószámok UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = A szkriptet a PowerShell 7 segítségével próbálja futtatni. Futtassa a szkriptet a megfelelő PowerShell verzióban @@ -44,7 +44,7 @@ TempTaskNotificationEvent = Az ideiglenes fájlok tárolására FolderTaskDescription = A {0} könyvtár tisztítása EventViewerCustomViewName = Folyamatok EventViewerCustomViewDescription = Folyamatok létrehozása és parancssor ellenőrző események -RestartWarning = \nKérem ne felejtse el újraindítani a számítógépét +RestartWarning = Kérem ne felejtse el újraindítani a számítógépét ErrorsLine = Sor ErrorsFile = Fájl ErrorsMessage = Hibák/Figyelmeztetések diff --git a/Sophia/Windows 11/Localizations/it-IT/Sophia.psd1 b/Sophia/Windows 11/Localizations/it-IT/Sophia.psd1 index d2983173..8bf0568e 100644 --- a/Sophia/Windows 11/Localizations/it-IT/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/it-IT/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = Lo script supporta solo Windows 10 x64 -UnsupportedOSBuild = Lo script supporta Windows 10, 2004/20H2/21H1 versioni e superiori -UpdateWarning = La tua build di Windows 10: {0}.{1}.{2}.{3}. Build supportata: 19041.1151 e successive +UnsupportedOSBitness = Lo script supporta solo Windows 11 x64 +UnsupportedOSBuild = Lo script supporta Windows 11, 2004/20H2/21H1 versioni e superiori +UpdateWarning = La tua build di Windows 11: {0}.{1}. Build supportata: 22000.120 e successive UnsupportedLanguageMode = La sessione PowerShell è in esecuzione in una modalità di lingua limitata LoggedInUserNotAdmin = L'utente connesso non ha i diritti di amministratore UnsupportedPowerShell = Stai cercando di eseguire lo script tramite PowerShell {0}. Esegui lo script nella versione di PowerShell appropriata @@ -44,7 +44,7 @@ TempTaskNotificationEvent = I file cartella Temp puliti con succ FolderTaskDescription = La pulizia della cartella "{0}" EventViewerCustomViewName = Creazione di processo EventViewerCustomViewDescription = Creazione di processi ed eventi di controllo della riga di comando -RestartWarning = \nAssicurarsi di riavviare il PC +RestartWarning = Assicurarsi di riavviare il PC ErrorsLine = Linea ErrorsFile = File ErrorsMessage = Errori/avvisi diff --git a/Sophia/Windows 11/Localizations/pt-BR/Sophia.psd1 b/Sophia/Windows 11/Localizations/pt-BR/Sophia.psd1 index ebca3f7b..14ff1821 100644 --- a/Sophia/Windows 11/Localizations/pt-BR/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/pt-BR/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = O script suporta somente Windows 10 x64 -UnsupportedOSBuild = O script suporta versões Windows 10 2004/20H2/21H1 e superior -UpdateWarning = La tua build di Windows 10: {0}.{1}.{2}.{3}. Build supportata: 19041.1151 e successive +UnsupportedOSBitness = O script suporta somente Windows 11 x64 +UnsupportedOSBuild = O script suporta versões Windows 11 2004/20H2/21H1 e superior +UpdateWarning = La tua build di Windows 11: {0}.{1}. Build supportata: 22000.120 e successive UnsupportedLanguageMode = A sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = O usuário logado não tem direitos de administrador UnsupportedPowerShell = Você está tentando executar o script via PowerShell {0}. Execute o script na versão apropriada do PowerShell @@ -44,7 +44,7 @@ TempTaskNotificationEvent = Os arquivos da pasta Temp limpos com FolderTaskDescription = A limpeza da pasta "{0}" EventViewerCustomViewName = Criação de processo EventViewerCustomViewDescription = Criação de processos e eventos de auditoria de linha de comando -RestartWarning = \nCertifique-se de reiniciar o PC +RestartWarning = Certifique-se de reiniciar o PC ErrorsLine = Linha ErrorsFile = Arquivo ErrorsMessage = Erros/Avisos diff --git a/Sophia/Windows 11/Localizations/ru-RU/Sophia.psd1 b/Sophia/Windows 11/Localizations/ru-RU/Sophia.psd1 index 2cdcc9f3..678e9bbb 100644 --- a/Sophia/Windows 11/Localizations/ru-RU/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/ru-RU/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = Скрипт поддерживает только Windows 10 x64 -UnsupportedOSBuild = Скрипт поддерживает только Windows 10 версии 2004/20H2/21H1 и выше -UpdateWarning = Ваш билд Windows 10: {0}.{1}.{2}.{3}. Поддерживаемый билд: 19041.1151 и выше +UnsupportedOSBitness = Скрипт поддерживает только Windows 11 x64 +UnsupportedOSBuild = Скрипт поддерживает только Windows 11 версии 2004/20H2/21H1 и выше +UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемый билд: 22000.120 и выше UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}. Запустите скрипт в соответствующей версии PowerShell @@ -44,7 +44,7 @@ TempTaskNotificationEvent = Папка временных фай FolderTaskDescription = Очистка папки {0} EventViewerCustomViewName = Создание процесса EventViewerCustomViewDescription = События содания нового процесса и аудит командной строки -RestartWarning = \nОбязательно перезагрузите ваш ПК +RestartWarning = Обязательно перезагрузите ваш ПК ErrorsLine = Строка ErrorsFile = Файл ErrorsMessage = Ошибки/предупреждения diff --git a/Sophia/Windows 11/Localizations/tr-TR/Sophia.psd1 b/Sophia/Windows 11/Localizations/tr-TR/Sophia.psd1 index 40346904..74308622 100644 --- a/Sophia/Windows 11/Localizations/tr-TR/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/tr-TR/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = Bu betik sadece Windows 10 x64 destekliyor -UnsupportedOSBuild = Bu betik sadece Windows 10 2004/20H2/21H1 sürüm ve üstünü destekliyor -UpdateWarning = Windows 10 yapınız: {0}.{1}.{2}.{3}. Desteklenen yapı: 19041.1151 ve üstünü destekliyor +UnsupportedOSBitness = Bu betik sadece Windows 11 x64 destekliyor +UnsupportedOSBuild = Bu betik sadece Windows 11 2004/20H2/21H1 sürüm ve üstünü destekliyor +UpdateWarning = Windows 11 yapınız: {0}.{1}. Desteklenen yapı: 22000.120 ve üstünü destekliyor UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = Komut dosyasını PowerShell 7 aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın. @@ -44,7 +44,7 @@ TempTaskNotificationEvent = Geçici dosyalar klasörü başarıy FolderTaskDescription = "{0}" klasörü temizleniyor EventViewerCustomViewName = Süreç Oluşturma EventViewerCustomViewDescription = Süreç oluşturma ve komut satırı denetleme olayları -RestartWarning = \nBilgisayarınızı yeniden başlattığınızdan emin olun +RestartWarning = Bilgisayarınızı yeniden başlattığınızdan emin olun ErrorsLine = Satır ErrorsFile = Dosya ErrorsMessage = Hatalar/Uyarılar diff --git a/Sophia/Windows 11/Localizations/uk-UA/Sophia.psd1 b/Sophia/Windows 11/Localizations/uk-UA/Sophia.psd1 index ea5502cb..0f42415d 100644 --- a/Sophia/Windows 11/Localizations/uk-UA/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/uk-UA/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = Скрипт підтримує тільки Windows 10 x64 -UnsupportedOSBuild = Скрипт підтримує тільки Windows 10 версії 2004/20H2/21H1 та вище -UpdateWarning = Ваш білд Windows 10: {0}. {1}. {2}. {3}. Підтримуваний білд: 19041.1151 та вище +UnsupportedOSBitness = Скрипт підтримує тільки Windows 11 x64 +UnsupportedOSBuild = Скрипт підтримує тільки Windows 11 версії 2004/20H2/21H1 та вище +UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримуваний білд: 22000.120 та вище UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = Поточний увійшов користувач не володіє правами адміністратора UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}. Запустіть скрипт у відповідній версії PowerShell @@ -44,7 +44,7 @@ TempTaskNotificationEvent = Папка тимчасових фа FolderTaskDescription = Очищення папки "{0}" EventViewerCustomViewName = Створення процесу EventViewerCustomViewDescription = Події створення нового процесу і аудит командного рядка -RestartWarning = \nОбов'язково перезавантажте ваш ПК +RestartWarning = Обов'язково перезавантажте ваш ПК ErrorsLine = Рядок ErrorsFile = Файл ErrorsMessage = Помилки/попередження diff --git a/Sophia/Windows 11/Localizations/zh-CN/Sophia.psd1 b/Sophia/Windows 11/Localizations/zh-CN/Sophia.psd1 index 7c6d395f..3d6b5b55 100644 --- a/Sophia/Windows 11/Localizations/zh-CN/Sophia.psd1 +++ b/Sophia/Windows 11/Localizations/zh-CN/Sophia.psd1 @@ -1,7 +1,7 @@ ConvertFrom-StringData -StringData @' -UnsupportedOSBitness = 该脚本仅支持Windows 10 x64 -UnsupportedOSBuild = 该脚本支持Windows 10版本2004/20H2/21H1和更高版本 -UpdateWarning = 您的Windows 10构建。{0}.{1}.{2}.{3}。支持的构建。19041.1151和更高版本 +UnsupportedOSBitness = 该脚本仅支持Windows 11 x64 +UnsupportedOSBuild = 该脚本支持Windows 11版本2004/20H2/21H1和更高版本 +UpdateWarning = 您的Windows 11构建。{0}.{1}。支持的构建。22000.120和更高版本 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = 登录的用户没有管理员的权利 UnsupportedPowerShell = 你想通过PowerShell {0}运行脚本。在适当的PowerShell版本中运行该脚本 @@ -44,7 +44,7 @@ TempTaskNotificationEvent = 临时文件文件夹已成功清理 FolderTaskDescription = “{0}”文件夹清理 EventViewerCustomViewName = 进程创建 EventViewerCustomViewDescription = 进程创建和命令行审核事件 -RestartWarning = \n确保重启电脑 +RestartWarning = 确保重启电脑 ErrorsLine = 行 ErrorsFile = 文件 ErrorsMessage = 错误/警告 diff --git a/Sophia/Windows 11/Manifest/Sophia.psd1 b/Sophia/Windows 11/Manifest/Sophia.psd1 index 48aac1bf..1ea286e5 100644 --- a/Sophia/Windows 11/Manifest/Sophia.psd1 +++ b/Sophia/Windows 11/Manifest/Sophia.psd1 @@ -1,6 +1,6 @@ @{ RootModule = '..\Module\Sophia.psm1' - ModuleVersion = '6.0.1' + ModuleVersion = '6.0.2' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' Copyright = '(c) 2014–2021 farag & Inestic. All rights reserved' diff --git a/Sophia/Windows 11/Module/Sophia.psm1 b/Sophia/Windows 11/Module/Sophia.psm1 index 5d48bd61..ca1206f0 100644 --- a/Sophia/Windows 11/Module/Sophia.psm1 +++ b/Sophia/Windows 11/Module/Sophia.psm1 @@ -2,8 +2,8 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: v6.0.1 - Date: 05.08.2021 + Version: v6.0.2 + Date: 06.08.2021 Copyright (c) 2014–2021 farag Copyright (c) 2019–2021 farag & Inestic @@ -16,7 +16,7 @@ .NOTES Supported Windows 11 version Version: Sun Valley - Build: 22000 + Build: 22000.120 Editions: Home/Pro/Enterprise .NOTES @@ -136,7 +136,7 @@ function Checkings # Check whether the script was run via PowerShell 5.1 if ($PSVersionTable.PSVersion.Major -ne 5) { - Write-Warning -Message ($Localization.UnsupportedPowerShell -f $PSVersionTable.PSVersion.Major) + Write-Warning -Message ($Localization.UnsupportedPowerShell -f $PSVersionTable.PSVersion.ToString()) exit } @@ -1439,6 +1439,9 @@ function ThisPC .EXAMPLE Windows10FileExplorer -Disable + .NOTES + Enabling the Windows 10 File Explorer will block the "Share" item context menu + .NOTES Current user #> @@ -1469,11 +1472,11 @@ function Windows10FileExplorer { New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" -Force } - New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" -Name "{e2bf9676-5f8f-435c-97eb-11607a5bedf7}" -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" -Name "{E2BF9676-5F8F-435C-97EB-11607A5BEDF7}" -PropertyType String -Value "" -Force } "Disable" { - Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" -Name "{e2bf9676-5f8f-435c-97eb-11607a5bedf7}" -Force + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" -Name "{E2BF9676-5F8F-435C-97EB-11607A5BEDF7}" -Force } } @@ -2431,11 +2434,17 @@ function TaskbarWidgets { "Hide" { - New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarDa -PropertyType DWord -Value 0 -Force + if (Get-AppxPackage -Name MicrosoftWindows.Client.WebExperience) + { + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarDa -PropertyType DWord -Value 0 -Force + } } "Show" { - New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarDa -PropertyType DWord -Value 1 -Force + if (Get-AppxPackage -Name MicrosoftWindows.Client.WebExperience) + { + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarDa -PropertyType DWord -Value 1 -Force + } } } } @@ -8197,10 +8206,7 @@ function UninstallUWPApps "Microsoft.WindowsTerminalPreview", # Web Media Extensions - "Microsoft.WebMediaExtensions", - - # Windows Web Experience Pack - "MicrosoftWindows.Client.WebExperience" + "Microsoft.WebMediaExtensions" ) #region Variables @@ -8212,7 +8218,7 @@ function UninstallUWPApps xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="Window" MinHeight="400" MinWidth="415" - SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen" + SizeToContent="Width" WindowStartupLocation="CenterScreen" TextOptions.TextFormattingMode="Display" SnapsToDevicePixels="True" FontFamily="Candara" FontSize="16" ShowInTaskbar="True" Background="#F1F1F1" Foreground="#262626"> @@ -10873,6 +10879,9 @@ function CastToDeviceContext .EXAMPLE ShareContext -Show + .NOTES + Showing the "Share" item in the context menu will disable the Windows 10 File Explorer + .NOTES Current user #> diff --git a/Sophia/Windows 11/Sophia.ps1 b/Sophia/Windows 11/Sophia.ps1 index 944e45d5..887a2356 100644 --- a/Sophia/Windows 11/Sophia.ps1 +++ b/Sophia/Windows 11/Sophia.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS Default preset file for "Sophia Script for Windows 11" - Version: v6.0.1 - Date: 05.08.2021 + Version: v6.0.2 + Date: 06.08.2021 Copyright (c) 2014–2021 farag Copyright (c) 2019–2021 farag & Inestic @@ -70,7 +70,7 @@ param Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014–2021" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.2 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014–2021" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force @@ -174,15 +174,15 @@ ScheduledTasks -Disable SigninInfo -Disable # Use sign-in info to automatically finish setting up device after an update (default value) -# Использовать данные для входа для автоматического завершения настройки устройства и открытия приложений после перезапуска или обновления (значение по умолчанию) +# Использовать данные для входа, чтобы автоматически завершить настройку после обновления (значение по умолчанию) # SigninInfo -Enable # Do not let websites provide locally relevant content by accessing language list -# Не позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков +# Не позволить веб-сайтам предоставлять местную информацию за счет доступа к списку языков LanguageListAccess -Disable # Let websites provide locally relevant content by accessing language list (default value) -# Позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков (значение по умолчанию) +# Позволить веб-сайтам предоставлять местную информацию за счет доступа к списку языков (значение по умолчанию) # LanguageListAccess -Enable # Do not let apps show me personalized ads by using my advertising ID @@ -251,8 +251,13 @@ ThisPC -Show # Скрыть "Этот компьютер" на рабочем столе (значение по умолчанию) # ThisPC -Hide -# Enable the Windows 10 File Explorer -# Включить проводник из Windows 10 +<# + Enable the Windows 10 File Explorer + Enabling the Windows 10 File Explorer will block the "Share" item context menu + + Включить проводник из Windows 10 + Включение проводника из Windows 10 cкроет пункт "Отправить" (поделиться) из контекстного меню +#> Windows10FileExplorer -Enable # Disable the Windows 10 File Explorer (default value) @@ -299,12 +304,12 @@ OpenFileExplorerTo -ThisPC # Открывать проводник для "Быстрый доступ" (значение по умолчанию) # OpenFileExplorerTo -QuickAccess -# Disable the File Explorer compact mode -# Отключить компактный вид проводника +# Disable the File Explorer compact mode (default value) +# Отключить компактный вид проводника (значение по умолчанию) FileExplorerCompactMode -Disable -# Enable the File Explorer compact mode (default value) -# Включить компактный вид проводника (значение по умолчанию) +# Enable the File Explorer compact mode +# Включить компактный вид проводника # FileExplorerCompactMode -Enable # Do not show sync provider notification within File Explorer @@ -317,11 +322,11 @@ OneDriveFileExplorerAd -Hide # Show snap layouts when I hover over a windows's maximaze button (default value) # Показывать макеты прикрепления, частью которых является приложение, при наведении указателя мыши на кнопки панели задач (значение по умолчанию) -SnapAssistFlyout -Enable +SnapAssistFlyout -Disable # Hide snap layouts when I hover over a windows's maximaze button # Не показывать макеты прикрепления, частью которых является приложение, при наведении указателя мыши на кнопки панели задач -# SnapAssistFlyout -Disable +# SnapAssistFlyout -Enable # When I snap a window, do not show what I can snap next to it # При прикреплении окна не показывать, что можно прикрепить рядом с ним @@ -963,11 +968,11 @@ CortanaAutostart -Disable # Disable Microsoft Teams autostarting # Выключить автозагрузку Microsoft Teams -TeamsAutostart -Disable +CortanaAutostart -Disable # Enable Microsoft Teams autostarting (default value) # Включить автозагрузкуMicrosoft Teams (значение по умолчанию) -# TeamsAutostart -Enable +# CortanaAutostart -Enable # Check for UWP apps updates # Проверить обновления UWP-приложений @@ -1223,8 +1228,13 @@ CastToDeviceContext -Hide # Отобразить пункт "Передать на устройство" в контекстном меню медиа-файлов и папок (значение по умолчанию) # CastToDeviceContext -Show -# Hide the "Share" item from the context menu -# Скрыть пункт "Отправить" (поделиться) из контекстного меню +<# + Hide the "Share" item from the context menu + Showing the "Share" item in the context menu will disable the Windows 10 File Explorer + + Скрыть пункт "Отправить" (поделиться) из контекстного меню + Отображение элемента «Поделиться» в контекстном меню приведет к отключению проводника Windows 10 +#> ShareContext -Hide # Show the "Share" item in the context menu (default value)