diff --git a/Sophia/PowerShell 5.1/Functions.ps1 b/Sophia/PowerShell 5.1/Functions.ps1 index a1229529..aa3480c8 100644 --- a/Sophia/PowerShell 5.1/Functions.ps1 +++ b/Sophia/PowerShell 5.1/Functions.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS The TAB completion for functions and their arguments - Version: v5.12.1 - Date: 06.08.2021 + Version: v5.12.2 + Date: 25.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 10 v5.12.1 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014–2021" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.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 @@ -168,10 +168,10 @@ $Parameters = @{ } Register-ArgumentCompleter @Parameters -Write-Information -MessageData "`n" -InformationAction Continue +Write-Information -MessageData "" -InformationAction Continue 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-Information -MessageData "" -InformationAction Continue 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/PowerShell 5.1/Localizations/de-DE/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/de-DE/Sophia.psd1 index 73a91794..af2846cb 100644 --- a/Sophia/PowerShell 5.1/Localizations/de-DE/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/de-DE/Sophia.psd1 @@ -1,10 +1,10 @@ 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 = Das kumulative Windows 10-Update wurde installiert: {0}. Das letzte unterstützte kumulative Update: 1151 und höher. Bitte führen Sie Windows Update aus und versuchen Sie es erneut +UnsupportedOSBuild = Das Skript unterstützt Windows 10 2004/20H2/21H1/21H2-Versionen +UpdateWarning = Das kumulative Windows 10-Update wurde installiert: {0}. Unterstütztes kumulatives Update: 1151 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 +UnsupportedPowerShell = Sie versuchen, ein Skript über PowerShell {0}.{1} auszuführen. Führen Sie das Skript in der entsprechenden PowerShell-Version aus UnsupportedISE = Das Skript unterstützt nicht die Ausführung über Windows PowerShell ISE Win10TweakerWarning = Wahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert UnsupportedRelease = Neue Version gefunden @@ -12,7 +12,7 @@ CustomizationWarning = \nHaben Sie alle Funktionen in der v ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert ScheduledTasks = Geplante Aufgaben OneDriveUninstalling = Deinstalliere OneDrive... -OneDriveInstalling = OneDrive wird installiert... +OneDriveInstalling = Installieren von OneDrive... OneDriveDownloading = OneDrive herunterladen... ~33 MB WindowsFeaturesTitle = Windows Eigenschaften OptionalFeaturesTitle = Optionale Eigenschaften @@ -20,15 +20,14 @@ EnableHardwareVT = Virtualisierung in UEFI aktivieren UserShellFolderNotEmpty = Einige im Ordner "{0}" verbliebene Dateien \nVerschieben Sie sie manuell an einen neuen Ort RetrievingDrivesList = Abrufen der Laufwerksliste... DriveSelect = Wählen Sie das Laufwerk, in dessen Stammverzeichnis der "{0}"-Ordner erstellt werden soll +CurrentUserFolderLocation = Der aktuelle Speicherort des Ordners "{0}": "{1}" UserFolderRequest = Möchten Sie den Speicherort des "{0}"-Ordners ändern? UserFolderSelect = Wählen Sie einen Ordner für den Ordner "{0}" UserDefaultFolder = Möchten Sie den Speicherort des "{0}"-Ordners auf den Standardwert ändern? ReservedStorageIsInUse = Dieser Vorgang wird nicht unterstützt, wenn reservierter Speicher verwendet wird\nBitte führen Sie die Funktion "{0}" nach dem PC-Neustart erneut aus -ShortcutPinning = Die Verknüpfung "{0}" wird an Start angeheftet +ShortcutPinning = Die Verknüpfung "{0}" wird an Start angeheftet... UninstallUWPForAll = Für alle Benutzer UWPAppsTitle = UWP-Pakete -WSLUpdateDownloading = Herunterladen des Update-Pakets für den Linux-Kernel... ~14 MB -WSLUpdateInstalling = Installation des Aktualisierungspakets für den Linux-Kernel... HEVCDownloading = Herunterladen von HEVC-Videoerweiterungen vom Gerätehersteller... ~2,8 MB GraphicsPerformanceTitle = Bevorzugte Grafikleistung GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" setzen? diff --git a/Sophia/PowerShell 5.1/Localizations/en-US/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/en-US/Sophia.psd1 index a2471f2e..bde94da6 100644 --- a/Sophia/PowerShell 5.1/Localizations/en-US/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/en-US/Sophia.psd1 @@ -1,10 +1,10 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = The script supports Windows 10 x64 only -UnsupportedOSBuild = The script supports Windows 10 2004/20H2/21H1 versions and higher -UpdateWarning = Windows 10 cumulative update installed: {0}. The latest supported cumulative update: 1151 and higher. Please run Windows Update and try again +UnsupportedOSBuild = The script supports Windows 10 2004/20H2/21H1/21H2 versions +UpdateWarning = Windows 10 cumulative update installed: {0}. Supported cumulative update: 1151 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 +UnsupportedPowerShell = You're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version UnsupportedISE = The script doesn't support running via Windows PowerShell ISE Win10TweakerWarning = Probably your OS was infected via the Win 10 Tweaker backdoor UnsupportedRelease = A new version found @@ -12,7 +12,7 @@ CustomizationWarning = \nHave you customized every function ControlledFolderAccessDisabled = Controlled folder access disabled ScheduledTasks = Scheduled tasks OneDriveUninstalling = Uninstalling OneDrive... -OneDriveInstalling = OneDrive is installing... +OneDriveInstalling = Installing OneDrive... OneDriveDownloading = Downloading OneDrive... ~33 MB WindowsFeaturesTitle = Windows features OptionalFeaturesTitle = Optional features @@ -20,15 +20,14 @@ EnableHardwareVT = Enable Virtualization in UEFI UserShellFolderNotEmpty = Some files left in the "{0}" folder. Move them manually to a new location RetrievingDrivesList = Retrieving drives list... DriveSelect = Select the drive within the root of which the "{0}" folder will be created +CurrentUserFolderLocation = The current "{0}" folder location: "{1}" UserFolderRequest = Would you like to change the location of the "{0}" folder? UserFolderSelect = Select a folder for the "{0}" folder UserDefaultFolder = Would you like to change the location of the "{0}" folder to the default value? 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 +ShortcutPinning = The "{0}" shortcut is being pinned to Start... UninstallUWPForAll = For all users 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 GraphicsPerformanceTitle = Graphics performance preference GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? diff --git a/Sophia/PowerShell 5.1/Localizations/es-ES/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/es-ES/Sophia.psd1 index b174f7de..f80e4f87 100644 --- a/Sophia/PowerShell 5.1/Localizations/es-ES/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/es-ES/Sophia.psd1 @@ -1,10 +1,10 @@ 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 = Actualización acumulativa de Windows 10 instalada: {0}. La última actualización acumulativa soportada: 1151 y superior. Por favor, ejecute Windows Update e inténtelo de nuevo +UnsupportedOSBuild = El script es compatible con versión Windows 10 2004/20H2/21H1/21H2 +UpdateWarning = Actualización acumulativa de Windows 10 instalada: {0}. Actualización acumulativa soportada: 1151 y superior 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 +UnsupportedPowerShell = Estás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell UnsupportedISE = El script no es compatible con la ejecución a través de Windows PowerShell ISE Win10TweakerWarning = Probablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker UnsupportedRelease = Una nueva versión encontrada @@ -12,7 +12,7 @@ CustomizationWarning = \n¿Ha personalizado todas las funci ControlledFolderAccessDisabled = Acceso a la carpeta controlada deshabilitado ScheduledTasks = Tareas programadas OneDriveUninstalling = Desinstalar OneDrive... -OneDriveInstalling = OneDrive se está instalando... +OneDriveInstalling = Instalación de OneDrive... OneDriveDownloading = Descargando OneDrive... ~33 MB WindowsFeaturesTitle = Características de Windows OptionalFeaturesTitle = Características opcionales @@ -20,15 +20,14 @@ EnableHardwareVT = Habilitar la virtualización en UEFI UserShellFolderNotEmpty = Algunos archivos quedan en la carpeta "{0}". Moverlos manualmente a una nueva ubicación RetrievingDrivesList = Recuperando lista de unidades... DriveSelect = Seleccione la unidad dentro de la raíz de la cual se creó la carpeta "{0}" +CurrentUserFolderLocation = La ubicación actual de la carpeta "{0}": "{1}" UserFolderRequest = ¿Le gustaría cambiar la ubicación de la "{0}" carpeta? UserFolderSelect = Seleccione una carpeta para la carpeta "{0}" UserDefaultFolder = ¿Le gustaría cambiar la ubicación de la carpeta "{0}" para el valor por defecto? ReservedStorageIsInUse = Esta operación no es compatible cuando el almacenamiento reservada está en uso\nPor favor, vuelva a ejecutar la función "{0}" después de reiniciar el PC -ShortcutPinning = El acceso directo "{0}" está siendo clavado en Start +ShortcutPinning = El acceso directo "{0}" está siendo clavado en Start... UninstallUWPForAll = Para todos los usuarios UWPAppsTitle = Aplicaciones UWP -WSLUpdateDownloading = La descarga del paquete de actualización del kernel de Linux... ~14 MB -WSLUpdateInstalling = Instalando el paquete de actualización del kernel de Linux... HEVCDownloading = Descargando HEVC Vídeo Extensiones del Fabricante del dispositivo... ~2,8 MB GraphicsPerformanceTitle = Preferencia de rendimiento gráfico GraphicsPerformanceRequest = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"? diff --git a/Sophia/PowerShell 5.1/Localizations/fr-FR/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/fr-FR/Sophia.psd1 index 975ec03f..2e7c801f 100644 --- a/Sophia/PowerShell 5.1/Localizations/fr-FR/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/fr-FR/Sophia.psd1 @@ -1,10 +1,10 @@ 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 = La mise à jour cumulative de Windows 10 est installée : {0}. La dernière mise à jour cumulative prise en charge : 1151 et plus. Veuillez exécuter Windows Update et réessayer +UnsupportedOSBuild = Le script supporte les versions Windows 10 2004/20H2/21H1/21H2 +UpdateWarning = La mise à jour cumulative de Windows 10 est installée : {0}. Mise à jour cumulative prise en charge : 1151 et plus 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 +UnsupportedPowerShell = Vous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell UnsupportedISE = Le script ne supporte pas l'exécution via Windows PowerShell ISE Win10TweakerWarning = Votre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker UnsupportedRelease = Nouvelle version trouvée @@ -12,7 +12,7 @@ CustomizationWarning = \nAvez-vous personnalisé chaque fon ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé ScheduledTasks = Tâches planifiées OneDriveUninstalling = Désinstalltion de OneDrive... -OneDriveInstalling = OneDrive en cours d'installation... +OneDriveInstalling = Installation de OneDrive... OneDriveDownloading = Téléchargement de OneDrive... ~33 Mo WindowsFeaturesTitle = Fonctionnalités OptionalFeaturesTitle = Fonctionnalités optionnelles @@ -20,15 +20,14 @@ EnableHardwareVT = Activer la virtualisation dans UEFI UserShellFolderNotEmpty = Certains fichiers laissés dans le dossier "{0}". Déplacer les manuellement vers un nouvel emplacement RetrievingDrivesList = Récupération de la liste des lecteurs... DriveSelect = Sélectionnez le disque à la racine dans lequel le dossier "{0}" sera créé. +CurrentUserFolderLocation = L'emplacement actuel du dossier "{0}": "{1}" UserFolderRequest = Voulez vous changer où est placé le dossier "{0}" ? UserFolderSelect = Sélectionnez un dossier pour le dossier "{0}" UserDefaultFolder = Voulez vous changer où est placé le dossier "{0}" à sa valeur par défaut? ReservedStorageIsInUse = Cette opération n'est pas suppportée le stockage réservé est en cours d'utilisation\nVeuillez réexécuter la fonction "{0}" après le redémarrage du PC -ShortcutPinning = Le raccourci "{0}" est épinglé sur Démarrer +ShortcutPinning = Le raccourci "{0}" est épinglé sur Démarrer... UninstallUWPForAll = Pour tous les utilisateurs UWPAppsTitle = Applications UWP -WSLUpdateDownloading = Téléchargement du package de mise à jour du noyau Linux... ~14 Mo -WSLUpdateInstalling = Installation du package de mise à jour du noyau Linux... HEVCDownloading = Téléchargement de Extensions vidéo HEVC du fabricant de l'appareil... ~2,8 MB GraphicsPerformanceTitle = Préférence de performances graphiques GraphicsPerformanceRequest = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"? diff --git a/Sophia/PowerShell 5.1/Localizations/hu-HU/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/hu-HU/Sophia.psd1 index d87232ed..c479007a 100644 --- a/Sophia/PowerShell 5.1/Localizations/hu-HU/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/hu-HU/Sophia.psd1 @@ -1,10 +1,10 @@ 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 = A Windows 10 összesített frissítése telepítve: {0}. A legújabb támogatott összesített frissítés: 1151 és újabb. Futtassa a Windows Update alkalmazást, és próbálja újra +UnsupportedOSBuild = A szkript támogatja a Windows 10 2004/20H2/21H1/21H2 verziókat +UpdateWarning = A Windows 10 összesített frissítése telepítve: {0}. Támogatott kumulatív frissítés: 1151 é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 +UnsupportedPowerShell = A PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban UnsupportedISE = A szkript nem támogatja a Windows PowerShell ISE futtatását Win10TweakerWarning = Valószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg UnsupportedRelease = Új verzió érhető el @@ -12,7 +12,7 @@ CustomizationWarning = \nSzemélyre szabott minden opciót ControlledFolderAccessDisabled = Vezérelt mappához való hozzáférés kikapcsolva ScheduledTasks = Ütemezett feladatok OneDriveUninstalling = OneDrive eltávolítása... -OneDriveInstalling = OneDrive telepítése folyamatban... +OneDriveInstalling = OneDrive telepítése... OneDriveDownloading = OneDrive letöltése... ~33 MB WindowsFeaturesTitle = Windows szolgáltatások OptionalFeaturesTitle = Opcionális szolgáltatások @@ -20,15 +20,14 @@ EnableHardwareVT = Virtualizáció engedélyezése UEFI UserShellFolderNotEmpty = Néhány fájl maradt a "{0}" könyvtárban. Kérem helyezze át ezeket egy új helyre RetrievingDrivesList = A meghajtók listájának lekérése... DriveSelect = Válassza ki a meghajtó jelét a gyökérkönyvtárban ahol a "{0}" könyvtár létre lesz hozva +CurrentUserFolderLocation = Az aktuális "{0}" mappa helye: "{1}" UserFolderRequest = Kívánja megváltoztatni a "{0}" könyvtár helyét? UserFolderSelect = Válasszon ki egy könyvtárat a "{0}" könyvtárhoz UserDefaultFolder = Szeretné visszaállítani a "{0}" könyvtár helyét a gyári értékekre? ReservedStorageIsInUse = Ez a művelet nem hajtható végre, amíg a fenntartott tárhely használatban van\nPonovno pokrenite funkciju "{0}" nakon ponovnog pokretanja računala -ShortcutPinning = A gyorsindító ikon "{0}" Startmenüre helyezése +ShortcutPinning = A gyorsindító ikon "{0}" Startmenüre helyezése... UninstallUWPForAll = Az összes felhasználó számára UWPAppsTitle = UWP Alkalmazások -WSLUpdateDownloading = A Linux kernel frissitő csomag letöltése... ~14 MB -WSLUpdateInstalling = A Linux kernel frissítő csomag telepítése... HEVCDownloading = A HEVC Videobővítmények letöltése a gyártói oldalról... ~2,8 MB GraphicsPerformanceTitle = Grafikus teljesítmény tulajdonság GraphicsPerformanceRequest = Szeretné megváltoztatni a grafikus teljesítmény beállítást az ön által kiválasztott alkalmazásban "Nagy teljesítményre"? diff --git a/Sophia/PowerShell 5.1/Localizations/it-IT/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/it-IT/Sophia.psd1 index 3c504d96..5f930c61 100644 --- a/Sophia/PowerShell 5.1/Localizations/it-IT/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/it-IT/Sophia.psd1 @@ -1,10 +1,10 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Lo script supporta solo Windows 10 x64 -UnsupportedOSBuild = Lo script supporta Windows 10, 2004/20H2/21H1 versioni e superiori -UpdateWarning = Windows 10 cumulative update installato: {0}. L'ultimo aggiornamento cumulativo supportato: 1151 e superiore. Si prega di eseguire Windows Update e riprovare +UnsupportedOSBuild = Lo script supporta Windows 10, 2004/20H2/21H1/21H2 versioni +UpdateWarning = Windows 10 cumulative update installato: {0}. Aggiornamento cumulativo supportato: 1151 e superiore 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 +UnsupportedPowerShell = Stai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata UnsupportedISE = Lo script non supporta l'esecuzione tramite Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker UnsupportedRelease = Nuova versione trovata @@ -12,7 +12,7 @@ CustomizationWarning = \nSono state personalizzate tutte le ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata ScheduledTasks = Attività pianificate OneDriveUninstalling = Disinstalla OneDrive... -OneDriveInstalling = OneDrive si sta installando... +OneDriveInstalling = Installazione di OneDrive... OneDriveDownloading = Download di OneDrive... ~33 MB WindowsFeaturesTitle = Funzionalità di Windows OptionalFeaturesTitle = Caratteristiche opzionali @@ -20,15 +20,14 @@ EnableHardwareVT = Abilita virtualizzazione in UEFI UserShellFolderNotEmpty = Alcuni file lasciati nella cartella "{0}". li spostare manualmente in una nuova posizione RetrievingDrivesList = Recupero lista unità... DriveSelect = Selezionare l'unità all'interno della radice del quale verrà creato il "{0}" cartella +CurrentUserFolderLocation = La posizione attuale della cartella "{0}": "{1}" UserFolderRequest = Volete cambiare la posizione del "{0}" cartella? UserFolderSelect = Selezionare una cartella per la cartella "{0}" UserDefaultFolder = Volete cambiare la posizione della cartella "{0}" al valore di default? ReservedStorageIsInUse = Questa operazione non è supportata quando stoccaggio riservata è in uso\nSi prega di eseguire nuovamente la funzione "{0}" dopo il riavvio del PC -ShortcutPinning = Il collegamento "{0}" è stato bloccato per iniziare +ShortcutPinning = Il collegamento "{0}" è stato bloccato per iniziare... UninstallUWPForAll = Per tutti gli utenti UWPAppsTitle = UWP Apps -WSLUpdateDownloading = Il download del pacchetto di aggiornamento del kernel di Linux... ~14 MB -WSLUpdateInstalling = Installazione del pacchetto di aggiornamento del kernel di Linux... HEVCDownloading = Il download HEVC Video estensioni da dispositivo Produttore... ~2,8 MB GraphicsPerformanceTitle = Preferenza per le prestazioni grafiche GraphicsPerformanceRequest = Volete impostare l'impostazione prestazioni grafiche di un app di vostra scelta per "performance High"? diff --git a/Sophia/PowerShell 5.1/Localizations/pt-BR/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/pt-BR/Sophia.psd1 index 7d6a447b..7984a17d 100644 --- a/Sophia/PowerShell 5.1/Localizations/pt-BR/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/pt-BR/Sophia.psd1 @@ -1,10 +1,10 @@ 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 = Atualização cumulativa do Windows 10 instalado: {0}. A última atualização cumulativa suportada: 1151 e superior. Por favor, execute Windows Update e tente novamente +UnsupportedOSBuild = O script suporta versões Windows 10 2004/20H2/21H1/21H2 +UpdateWarning = Atualização cumulativa do Windows 10 instalado: {0}. Actualização acumulada suportada: 1151 e superior 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 +UnsupportedPowerShell = Você está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell UnsupportedISE = O guião não suporta a execução através do Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker UnsupportedRelease = Nova versão encontrada @@ -12,7 +12,7 @@ CustomizationWarning = \nVocê personalizou todas as funç ControlledFolderAccessDisabled = Acesso controlado a pasta desativada ScheduledTasks = Tarefas agendadas OneDriveUninstalling = Desinstalar OneDrive... -OneDriveInstalling = OneDrive está instalando... +OneDriveInstalling = Instalar o OneDrive... OneDriveDownloading = Baixando OneDrive... ~33 MB WindowsFeaturesTitle = Recursos do Windows OptionalFeaturesTitle = Recursos opcionais @@ -20,15 +20,14 @@ EnableHardwareVT = Habilitar virtualização em UEFI UserShellFolderNotEmpty = Alguns arquivos deixados na pasta "{0}". Movê-los manualmente para um novo local RetrievingDrivesList = Recuperando lista de unidades... DriveSelect = Selecione a unidade dentro da raiz da qual a pasta "{0}" será criada +CurrentUserFolderLocation = A localização actual da pasta "{0}": "{1}" UserFolderRequest = Gostaria de alterar a localização da pasta "{0}"? UserFolderSelect = Selecione uma pasta para a pasta "{0}" UserDefaultFolder = Gostaria de alterar a localização da pasta "{0}" para o valor padrão? ReservedStorageIsInUse = Esta operação não é suportada quando o armazenamento reservada está em uso\nFavor executar novamente a função "{0}" após o reinício do PC -ShortcutPinning = O atalho "{0}" está sendo fixado no Iniciar -UninstallUWPForAll = Para todos os usuários +ShortcutPinning = O atalho "{0}" está sendo fixado no Iniciar... +UninstallUWPForAll = Para todos os usuários... UWPAppsTitle = Apps UWP -WSLUpdateDownloading = Baixando o pacote de atualização do kernel Linux... ~14 MB -WSLUpdateInstalling = Instalando o pacote de atualização do kernel Linux... HEVCDownloading = Baixando HEVC Vídeo Extensões de Dispositivo Fabricante... ~ 2,8 MB GraphicsPerformanceTitle = Preferência de desempenho gráfico GraphicsPerformanceRequest = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"? diff --git a/Sophia/PowerShell 5.1/Localizations/ru-RU/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/ru-RU/Sophia.psd1 index 26da85af..c3ba512e 100644 --- a/Sophia/PowerShell 5.1/Localizations/ru-RU/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/ru-RU/Sophia.psd1 @@ -1,12 +1,12 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Скрипт поддерживает только Windows 10 x64 -UnsupportedOSBuild = Скрипт поддерживает только Windows 10 версии 2004/20H2/21H1 и выше -UpdateWarning = Установленный накопительный пакет обновления Windows 10: {0}. Последний поддерживаемый накопительный пакет обновления: 1151 и выше. Пожалуйста, запустите обновление Windows и попробуйте заново +UnsupportedOSBuild = Скрипт поддерживает только Windows 10 версии 2004/20H2/21H1/21H2 +UpdateWarning = Установленный накопительный пакет обновления Windows 10: {0}. Поддерживаемый накопительный пакет обновления: 1151 и выше UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора -UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}. Запустите скрипт в соответствующей версии PowerShell +UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE -Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker заражена трояном +Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном UnsupportedRelease = Обнаружена новая версия CustomizationWarning = \nВы настроили все функции в пресет-файле Sophia.ps1 перед запуском Sophia Script? ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен @@ -20,15 +20,14 @@ EnableHardwareVT = Включите виртуализ UserShellFolderNotEmpty = В папке "{0}" остались файлы. Переместите их вручную в новое расположение RetrievingDrivesList = Получение списка дисков... DriveSelect = Выберите диск, в корне которого будет создана папка "{0}" +CurrentUserFolderLocation = Текущее расположение папки "{0}": "{1}" UserFolderRequest = Хотите изменить расположение папки "{0}"? UserFolderSelect = Выберите папку для "{0}" UserDefaultFolder = Хотите изменить расположение папки "{0}" на значение по умолчанию? ReservedStorageIsInUse = Операция не поддерживается, пока используется зарезервированное хранилище\nПожалуйста, повторно запустите функцию "{0}" после перезагрузки -ShortcutPinning = Ярлык "{0}" закрепляется на начальном экране +ShortcutPinning = Ярлык "{0}" закрепляется на начальном экране... UninstallUWPForAll = Для всех пользователей UWPAppsTitle = UWP-приложения -WSLUpdateDownloading = Скачивается пакет обновления ядра Linux... ~14 МБ -WSLUpdateInstalling = Установка пакета обновления ядра Linux... HEVCDownloading = Скачивается расширения для видео HEVC от производителя устройства... ~2,8 МБ GraphicsPerformanceTitle = Настройка производительности графики GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? @@ -44,7 +43,7 @@ TempTaskNotificationEvent = Папка временных фай FolderTaskDescription = Очистка папки {0} EventViewerCustomViewName = Создание процесса EventViewerCustomViewDescription = События содания нового процесса и аудит командной строки -RestartWarning = \nОбязательно перезагрузите ваш ПК +RestartWarning = Обязательно перезагрузите ваш ПК ErrorsLine = Строка ErrorsFile = Файл ErrorsMessage = Ошибки/предупреждения diff --git a/Sophia/PowerShell 5.1/Localizations/tr-TR/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/tr-TR/Sophia.psd1 index 612263a5..0cf1acd7 100644 --- a/Sophia/PowerShell 5.1/Localizations/tr-TR/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/tr-TR/Sophia.psd1 @@ -1,10 +1,10 @@ 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 toplu güncelleştirmesi yüklendi: {0}. Desteklenen en son toplu güncelleme: 1151 ve üstü. Lütfen Windows Update'i çalıştırın ve tekrar deneyin +UnsupportedOSBuild = Komut dosyası, Windows 10 2004/20H2/21H1/21H2 sürümlerini destekler +UpdateWarning = Windows 10 toplu güncelleştirmesi yüklendi: {0}. Desteklenen toplu güncelleme: 1151 ve üstü 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. +UnsupportedPowerShell = Komut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın UnsupportedISE = Komut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = Muhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı UnsupportedRelease = Yeni sürüm bulundu @@ -20,15 +20,14 @@ EnableHardwareVT = UEFI'dan sanallaştırmayı aktifle UserShellFolderNotEmpty = "{0}" klasöründe bazı dosyalar kaldı. \nKendiniz yeni konuma taşıyın RetrievingDrivesList = Sürücü listesi alınıyor... DriveSelect = "{0}" klasörünün oluşturulacağı kök içindeki sürücüyü seçin +CurrentUserFolderLocation = Geçerli "{0}" klasör konumu: "{1}" UserFolderRequest = "{0}" klasörünün yerini değiştirmek ister misiniz? UserFolderSelect = "{0}" klasörü için bir klasör seçin UserDefaultFolder = "{0}" klasörünün konumunu varsayılan değerle değiştirmek ister misiniz? ReservedStorageIsInUse = Ayrılmış depolama kullanımdayken bu işlem desteklenmez\nBilgisayar yeniden başlatıldıktan sonra lütfen "{0}" işlevini yeniden çalıştırın -ShortcutPinning = "{0}" kısayolu Başlangıç sekmesine sabitlendi +ShortcutPinning = "{0}" kısayolu Başlangıç sekmesine sabitlendi... UninstallUWPForAll = Bütün kullanıcılar için UWPAppsTitle = UWP Uygulamaları -WSLUpdateDownloading = Linux kernel güncelleme paketi indiriliyor... ~14 MB -WSLUpdateInstalling = Kernel güncelleme paketi kuruluyor HEVCDownloading = "Cihaz Üreticisinden HEVC Video Uzantıları" İndiriliyor... ~2,8 MB GraphicsPerformanceTitle = Grafik performans tercihi GraphicsPerformanceRequest = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz? diff --git a/Sophia/PowerShell 5.1/Localizations/uk-UA/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/uk-UA/Sophia.psd1 index 4a08c822..0b619767 100644 --- a/Sophia/PowerShell 5.1/Localizations/uk-UA/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/uk-UA/Sophia.psd1 @@ -1,10 +1,10 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Скрипт підтримує тільки Windows 10 x64 -UnsupportedOSBuild = Скрипт підтримує тільки Windows 10 версії 2004/20H2/21H1 та вище -UpdateWarning = Встановлений зведене оновлення Windows 10: {0}. Останній підтримуваний зведене оновлення: 1151 Росія і вище. Будь ласка, запустіть оновлення Windows і спробуйте заново +UnsupportedOSBuild = Скрипт підтримує тільки Windows 10 версії 2004/20H2/21H1/21H2 +UpdateWarning = Встановлений зведене оновлення Windows 10: {0}. Підтримуваний накопичувальний пакет оновлення: 1151 і вище UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = Поточний увійшов користувач не володіє правами адміністратора -UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}. Запустіть скрипт у відповідній версії PowerShell +UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell UnsupportedISE = Скрипт не підтримує роботу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, можливо, через бекдор в Win 10 Tweaker заражена трояном UnsupportedRelease = Виявлено нову версію @@ -20,15 +20,14 @@ EnableHardwareVT = Увімкніть віртуалі UserShellFolderNotEmpty = У папці "{0}" залишились файли. Перемістіть їх вручну у нове розташування RetrievingDrivesList = Отримання списку дисків... DriveSelect = Виберіть диск, в корні якого буде створена папка для "{0}" +CurrentUserFolderLocation = Текуще розташування папок "{0}": "{1}" UserFolderRequest = Хочете змінити розташування папки "{0}"? UserFolderSelect = Виберіть папку для "{0}" UserDefaultFolder = Хочете змінити розташування папки "{0}" на значення за замовчуванням? ReservedStorageIsInUse = Операція не підтримується, поки використовується зарезервоване сховище\nБудь ласка, повторно запустіть функцію "{0}" після перезавантаження -ShortcutPinning = Ярлик "{0}" закріплюється на початковому екрані +ShortcutPinning = Ярлик "{0}" закріплюється на початковому екрані... UninstallUWPForAll = Для всіх користувачів UWPAppsTitle = Програми UWP -WSLUpdateDownloading = Завантажується пакет оновлення ядра Linux... ~14 МБ -WSLUpdateInstalling = Встановлення пакета оновлення ядра Linux... HEVCDownloading = Завантаження "Розширення відео HEVC від виробника пристрою"... ~2,8 МБ GraphicsPerformanceTitle = Налаштування продуктивності графіки GraphicsPerformanceRequest = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"? diff --git a/Sophia/PowerShell 5.1/Localizations/zh-CN/Sophia.psd1 b/Sophia/PowerShell 5.1/Localizations/zh-CN/Sophia.psd1 index 9253415a..befc3c6e 100644 --- a/Sophia/PowerShell 5.1/Localizations/zh-CN/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Localizations/zh-CN/Sophia.psd1 @@ -1,10 +1,10 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = 该脚本仅支持Windows 10 x64 -UnsupportedOSBuild = 该脚本支持Windows 10版本2004/20H2/21H1和更高版本 -UpdateWarning = 安装了Windows 10累积更新:{0}. 最新支持的累积性更新:1151及以上。请运行Windows Update并再次尝试 +UnsupportedOSBuild = 该脚本支持Windows 10版本2004/20H2/21H1/21H2和更高版本 +UpdateWarning = 安装了Windows 10累积更新:{0}. 支持的累积更新:1151及以上 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = 登录的用户没有管理员的权利 -UnsupportedPowerShell = 你想通过PowerShell {0}运行脚本。在适当的PowerShell版本中运行该脚本 +UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行 Win10TweakerWarning = 可能你的操作系统是通过“Win 10 Tweaker”后门感染的 UnsupportedRelease = 找到新版本 @@ -20,16 +20,15 @@ EnableHardwareVT = UEFI中开启虚拟化 UserShellFolderNotEmpty = 一些文件留在了“{0}“文件夹。请手动将它们移到一个新位置 RetrievingDrivesList = 取得驱动器列表…… DriveSelect = 选择将在其根目录中创建“{0}“文件夹的驱动器 +CurrentUserFolderLocation = 当前"{0}"文件夹的位置:"{1}" UserFolderRequest = 是否要更改“{0}“文件夹位置? UserFolderSelect = 为“{0}”文件夹选择一个文件夹 UserDefaultFolder = 您想将“{0}”文件夹的位置更改为默认值吗? ReservedStorageIsInUse = 保留存储空间正在使用时不支持此操作\n请在电脑重启后重新运行"{0}"功能 -ShortcutPinning = “{0}“快捷方式将被固定到开始菜单 +ShortcutPinning = “{0}“快捷方式将被固定到开始菜单…… UninstallUWPForAll = 对于所有用户 UWPAppsTitle = UWP应用 -WSLUpdateDownloading = Linux内核更新包下载中…… ~14 MB -WSLUpdateInstalling = 安装Linux内核更新包…… -HEVCDownloading = Downloading 来自设备制造商的 HEVC 视频扩展... ~2,8 MB +HEVCDownloading = 下载”HEVC Video Extensions from Device Manufacturer”…… ~2,8 MB GraphicsPerformanceTitle = 图形性能偏好 GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能"? TaskNotificationTitle = 通知 diff --git a/Sophia/PowerShell 5.1/Manifest/Sophia.psd1 b/Sophia/PowerShell 5.1/Manifest/Sophia.psd1 index db589a59..52e2adc9 100644 --- a/Sophia/PowerShell 5.1/Manifest/Sophia.psd1 +++ b/Sophia/PowerShell 5.1/Manifest/Sophia.psd1 @@ -1,6 +1,6 @@ @{ RootModule = '..\Module\Sophia.psm1' - ModuleVersion = '5.12.1' + ModuleVersion = '5.12.2' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' Copyright = '(c) 2014–2021 farag & Inestic. All rights reserved' diff --git a/Sophia/PowerShell 5.1/Module/Sophia.psm1 b/Sophia/PowerShell 5.1/Module/Sophia.psm1 index b31c6f37..01dda2f6 100644 --- a/Sophia/PowerShell 5.1/Module/Sophia.psm1 +++ b/Sophia/PowerShell 5.1/Module/Sophia.psm1 @@ -2,8 +2,8 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: v5.12.1 - Date: 06.08.2021 + Version: v5.12.2 + Date: 25.08.2021 Copyright (c) 2014–2021 farag Copyright (c) 2019–2021 farag & Inestic @@ -15,8 +15,8 @@ .NOTES Supported Windows 10 versions - Versions: 2004/20H2/21H1 - Builds: 19041/19042/19043 + Versions: 2004/20H2/21H1/21H2 + Builds: 19041/19042/19043/19044 Editions: Home/Pro/Enterprise Architecture: x64 @@ -35,7 +35,7 @@ https://github.com/farag2 https://github.com/Inestic - .NOTES + .LINK https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/ @@ -68,7 +68,7 @@ function Checkings } # Detect the OS build version - switch (((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -ge 19041) -and ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -lt 22000)) + switch (((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -ge 19041) -and ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -le 19044)) { $false { @@ -83,9 +83,13 @@ function Checkings $false { $Version = Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR - Write-Warning -Message ($Localization.UpdateWarning -f $Version) + # Check for updates + Start-Process -FilePath "ms-settings:windowsupdate-action" + Start-Sleep -Seconds 3 + Start-Process -FilePath "ms-settings:windowsupdate-optionalupdates" + exit } } @@ -120,7 +124,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.Major, $PSVersionTable.PSVersion.Minor) exit } @@ -145,7 +149,10 @@ function Checkings # Check if the current module version is the latest one try { - $LatestRelease = (Invoke-RestMethod -Uri "https://api.github.com/repos/farag2/Sophia-Script-for-Windows/releases/latest").tag_name + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 + + # https://github.com/farag2/Sophia-Script-for-Windows/blob/master/sophia_script_versions.json + $LatestRelease = (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/sophia_script_versions.json" | ConvertFrom-Json).Sophia_Script_Windows_10_PowerShell_5_1 $CurrentRelease = (Get-Module -Name Sophia).Version.ToString() switch ([System.Version]$LatestRelease -gt [System.Version]$CurrentRelease) { @@ -705,6 +712,7 @@ function ScheduledTasks function DisableButton { + Write-Information -MessageData "" -InformationAction Continue Write-Verbose -Message $Localization.Patient -Verbose [void]$Window.Close() @@ -715,6 +723,7 @@ function ScheduledTasks function EnableButton { + Write-Information -MessageData "" -InformationAction Continue Write-Verbose -Message $Localization.Patient -Verbose [void]$Window.Close() @@ -779,6 +788,7 @@ function ScheduledTasks } } + Write-Information -MessageData "" -InformationAction Continue Write-Verbose -Message $Localization.Patient -Verbose # Getting list of all scheduled tasks according to the conditions @@ -2764,10 +2774,13 @@ public static string GetString(uint strId) Mail { # Start-Job is used due to that the calling this function before UninstallUWPApps breaks the retrieval of the localized UWP apps packages names - Start-Job -ScriptBlock { - $Apps = (New-Object -ComObject Shell.Application).NameSpace("shell:::{4234d49b-0245-4df3-b780-3893943456e1}").Items() - ($Apps | Where-Object -FilterScript {$_.Path -eq "microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.windowslive.mail"}).Verbs() | Where-Object -FilterScript {$_.Name -eq $Using:LocalizedString} | ForEach-Object -Process {$_.DoIt()} - } | Receive-Job -Wait -AutoRemoveJob + if (Get-AppxPackage -Name microsoft.windowscommunicationsapps) + { + Start-Job -ScriptBlock { + $Apps = (New-Object -ComObject Shell.Application).NameSpace("shell:::{4234d49b-0245-4df3-b780-3893943456e1}").Items() + ($Apps | Where-Object -FilterScript {$_.Path -eq "microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.windowslive.mail"}).Verbs() | Where-Object -FilterScript {$_.Name -eq $Using:LocalizedString} | ForEach-Object -Process {$_.DoIt()} + } | Receive-Job -Wait -AutoRemoveJob + } } } } @@ -4718,6 +4731,7 @@ function WindowsFeatures function DisableButton { + Write-Information -MessageData "" -InformationAction Continue Write-Verbose -Message $Localization.Patient -Verbose [void]$Window.Close() @@ -4728,6 +4742,7 @@ function WindowsFeatures function EnableButton { + Write-Information -MessageData "" -InformationAction Continue Write-Verbose -Message $Localization.Patient -Verbose [void]$Window.Close() @@ -5907,6 +5922,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int while ($k.Key -notin ([ConsoleKey]::Escape, [ConsoleKey]::Enter)) } + # Get the localized user folders names $Signature = @{ Namespace = "WinAPI" Name = "GetStr" @@ -5932,18 +5948,20 @@ public static string GetString(uint strId) Add-Type @Signature -Using System.Text } - $DesktopLocalizedString = [WinAPI.GetStr]::GetString(21769) + # The localized user folders names + $DesktopLocalizedString = [WinAPI.GetStr]::GetString(21769) $DocumentsLocalizedString = [WinAPI.GetStr]::GetString(21770) $DownloadsLocalizedString = [WinAPI.GetStr]::GetString(21798) - $MusicLocalizedString = [WinAPI.GetStr]::GetString(21790) - $PicturesLocalizedString = [WinAPI.GetStr]::GetString(21779) - $VideosLocalizedString = [WinAPI.GetStr]::GetString(21791) + $MusicLocalizedString = [WinAPI.GetStr]::GetString(21790) + $PicturesLocalizedString = [WinAPI.GetStr]::GetString(21779) + $VideosLocalizedString = [WinAPI.GetStr]::GetString(21791) switch ($PSCmdlet.ParameterSetName) { "Root" { Write-Verbose -Message $Localization.RetrievingDrivesList -Verbose + Write-Information -MessageData "" -InformationAction Continue # Store all drives letters to use them within ShowMenu function $DriveLetters = @((Get-Disk | Where-Object -FilterScript {$_.BusType -ne "USB"} | Get-Partition | Get-Volume | Where-Object -FilterScript {$null -ne $_.DriveLetter}).DriveLetter | Sort-Object) @@ -5960,8 +5978,16 @@ public static string GetString(uint strId) # Desktop Write-Verbose -Message ($Localization.DriveSelect -f $DesktopLocalizedString) -Verbose + + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderRequest -f $DesktopLocalizedString $Change = $Localization.Change @@ -5980,13 +6006,22 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Documents Write-Verbose -Message ($Localization.DriveSelect -f $DocumentsLocalizedString) -Verbose + + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderRequest -f $DocumentsLocalizedString $Change = $Localization.Change @@ -6005,13 +6040,22 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Downloads Write-Verbose -Message ($Localization.DriveSelect -f $DownloadsLocalizedString) -Verbose + + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderRequest -f $DownloadsLocalizedString $Change = $Localization.Change @@ -6030,13 +6074,22 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Music Write-Verbose -Message ($Localization.DriveSelect -f $MusicLocalizedString) -Verbose + + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderRequest -f $MusicLocalizedString $Change = $Localization.Change @@ -6055,13 +6108,21 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Pictures Write-Verbose -Message ($Localization.DriveSelect -f $PicturesLocalizedString) -Verbose + + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderRequest -f $PicturesLocalizedString $Change = $Localization.Change @@ -6080,13 +6141,22 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Videos Write-Verbose -Message ($Localization.DriveSelect -f $VideosLocalizedString) -Verbose + + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderRequest -f $VideosLocalizedString $Change = $Localization.Change @@ -6105,14 +6175,22 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } } "Custom" { # Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderSelect -f $DesktopLocalizedString $Browse = $Localization.Browse @@ -6143,12 +6221,20 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Documents + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderSelect -f $DocumentsLocalizedString $Browse = $Localization.Browse @@ -6179,12 +6265,20 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Downloads + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderSelect -f $DownloadsLocalizedString $Browse = $Localization.Browse @@ -6215,12 +6309,20 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Music + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderSelect -f $MusicLocalizedString $Browse = $Localization.Browse @@ -6251,12 +6353,20 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Pictures + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderSelect -f $PicturesLocalizedString $Browse = $Localization.Browse @@ -6287,12 +6397,20 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Videos + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserFolderSelect -f $VideosLocalizedString $Browse = $Localization.Browse @@ -6323,14 +6441,22 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } } "Default" { # Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserDefaultFolder -f $DesktopLocalizedString $Change = $Localization.Change @@ -6348,12 +6474,20 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Documents + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserDefaultFolder -f $DocumentsLocalizedString $Change = $Localization.Change @@ -6371,12 +6505,20 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Downloads + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserDefaultFolder -f $DownloadsLocalizedString $Change = $Localization.Change @@ -6394,12 +6536,20 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Music + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserDefaultFolder -f $MusicLocalizedString $Change = $Localization.Change @@ -6417,12 +6567,20 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Pictures + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserDefaultFolder -f $PicturesLocalizedString $Change = $Localization.Change @@ -6440,12 +6598,20 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } # Videos + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose + + Write-Information -MessageData "" -InformationAction Continue + Write-Warning -Message $Localization.FilesWontBeMoved + Write-Information -MessageData "" -InformationAction Continue + $Title = "" $Message = $Localization.UserDefaultFolder -f $VideosLocalizedString $Change = $Localization.Change @@ -6463,6 +6629,7 @@ public static string GetString(uint strId) "1" { Write-Verbose -Message $Localization.Skipped -Verbose + Write-Information -MessageData "" -InformationAction Continue } } } @@ -8311,7 +8478,7 @@ function PinToStart begin { - $Script:StartLayout = "$PSScriptRoot\StartLayout.xml" + $Script:StartLayout = "$PSScriptRoot\..\StartLayout.xml" # Unpin all the Start tiles if ($UnpinAll) @@ -8665,7 +8832,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"> @@ -8773,9 +8940,9 @@ function UninstallUWPApps } [PSCustomObject]@{ - Name = $AppxPackage.Name + Name = $AppxPackage.Name PackageFullName = $AppxPackage.PackageFullName - DisplayName = $PackageId.DisplayName + DisplayName = $PackageId.DisplayName } } } @@ -9389,6 +9556,7 @@ function HEIF if ($Package -like "Microsoft.HEVCVideoExtension_*_x64__8wekyb3d8bbwe.appx") { + Write-Information -MessageData "" -InformationAction Continue Write-Verbose -Message $Localization.HEVCDownloading -Verbose [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 @@ -9611,6 +9779,7 @@ function BackgroundUWPApps # Check for UWP apps updates function CheckUWPAppsUpdates { + Write-Information -MessageData "" -InformationAction Continue Write-Verbose -Message $Localization.Patient -Verbose Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod } @@ -9811,8 +9980,7 @@ function SetAppGraphicsPerformance GPUScheduling -Disable .NOTES - Only with a dedicated GPU and WDDM verion is 2.7 or higher - Restart needed + Only with a dedicated GPU and WDDM verion is 2.7 or higher. Restart needed .NOTES Current user @@ -9881,7 +10049,6 @@ function GPUScheduling .NOTES A native interactive toast notification pops up every 30 days - The task runs every 30 days .NOTES Current user @@ -10142,8 +10309,7 @@ while (`$true) SoftwareDistributionTask -Delete .NOTES - The task will wait until the Windows Updates service finishes running - The task runs every 90 days + The task will wait until the Windows Updates service finishes running. The task runs every 90 days .NOTES Current user @@ -10248,7 +10414,7 @@ Get-ChildItem -Path `$env:SystemRoot\SoftwareDistribution\Download -Recurse -For TempTask -Delete .NOTES - The task runs every 60 days + Only files older than one day will be deleted. The task runs every 60 days .NOTES Current user @@ -10629,7 +10795,7 @@ function CommandLineProcessAudit The "Process Creation" Event Viewer custom view .PARAMETER Enable - Create the "Process Creation" Event Viewer custom view + Create the "Process Creation" Event Viewer сustom view to log the executed processes and their arguments .PARAMETER Disable Remove the "Process Creation" Event Viewer custom view @@ -10641,7 +10807,7 @@ function CommandLineProcessAudit EventViewerCustomView -Disable .NOTES - In order this feature to work events auditing (ProcessAudit -Enable) and command line in process creation events will be enabled + In order this feature to work events auditing (ProcessAudit -Enable) and command line (CommandLineProcessAudit -Enable) in process creation events will be enabled .NOTES Machine-wide @@ -12205,6 +12371,7 @@ public static void PostMessage() Set-MpPreference -EnableControlledFolderAccess Enabled } + Write-Information -MessageData "" -InformationAction Continue Write-Warning -Message $Localization.RestartWarning [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null @@ -12271,10 +12438,16 @@ function Errors { if ($Global:Error) { + # Some errors may have the Windows nature and don't have a path to any of the module's files + $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) + { + Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf + } + ($Global:Error | ForEach-Object -Process { [PSCustomObject]@{ - $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber - $Localization.ErrorsFile = Split-Path -Path $PSCommandPath -Leaf + $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber + $Localization.ErrorsFile = $ErrorInFile $Localization.ErrorsMessage = $_.Exception.Message } } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() diff --git a/Sophia/PowerShell 5.1/Sophia.ps1 b/Sophia/PowerShell 5.1/Sophia.ps1 index aea5b145..c964179b 100644 --- a/Sophia/PowerShell 5.1/Sophia.ps1 +++ b/Sophia/PowerShell 5.1/Sophia.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS Default preset file for "Sophia Script for Windows 10" - Version: v5.12.1 - Date: 06.08.2021 + Version: v5.12.2 + Date: 25.08.2021 Copyright (c) 2014–2021 farag Copyright (c) 2019–2021 farag & Inestic @@ -23,8 +23,8 @@ .NOTES Supported Windows 10 versions - Versions: 2004/20H2/21H1 - Builds: 19041/19042/19043 + Versions: 2004/20H2/21H1/21H2 + Builds: 19041/19042/19043/19044 Editions: Home/Pro/Enterprise Architecture: x64 @@ -71,7 +71,7 @@ param Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.1 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014–2021" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.12.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 @@ -235,11 +235,11 @@ WhatsNewInWindows -Disable # WhatsNewInWindows -Enable # Do not let Microsoft offer you tailored expereinces based on the diagnostic data setting you hava chosen -# Не предлагать персонализированные возможности, основанные на выбранном параметре диагностических данных +# Не разрешиать корпорации Майкософт использовать ваши диагностические данные для предоставления вам персонализированных советов, рекламы и рекомендаций, чтобы улучшить работу со службами Майкрософт TailoredExperiences -Disable # Let Microsoft offer you tailored expereinces based on the diagnostic data setting you hava chosen (default value) -# Предлагать персонализированные возможности, основанные на выбранном параметре диагностических данных (значение по умолчанию) +# Разрешите корпорации Майкософт использовать ваши диагностические данные для предоставления вам персонализированных советов, рекламы и рекомендаций, чтобы улучшить работу со службами Майкрософт (значение по умолчанию) # TailoredExperiences -Enable # Disable Bing search in the Start Menu (for the USA only) @@ -656,10 +656,10 @@ WindowsManageDefaultPrinter -Disable <# Disable the Windows features using the pop-up dialog box - Отключить компоненты Windows, используя всплывающее диалоговое окно - If you want to leave "Multimedia settings" element in the advanced settings of Power Options do not disable the "Media Features" feature + Если вы хотите оставить параметр "Параметры мультимедиа" в дополнительных параметрах схемы управления питанием, не отключайте "Компоненты для работы с медиа" + Отключить компоненты Windows, используя всплывающее диалоговое окно #> WindowsFeatures -Disable @@ -867,8 +867,8 @@ ThumbnailCacheRemoval -Disable # ThumbnailCacheRemoval -Enable # Automatically saving my restartable apps when signing out and restart them after signing in -# Автоматически сохранять моих перезапускаемые приложения при выходе из системы и перезапускать их после выхода -SaveRestartableApps -Enable ### +# Автоматически сохранять мои перезапускаемые приложения из системы и перезапускать их при повторном входе +SaveRestartableApps -Enable # Turn off automatically saving my restartable apps when signing out and restart them after signing in (default value) # Выключить автоматическое сохранение моих перезапускаемых приложений при выходе из системы и перезапускать их после выхода (значение по умолчанию) @@ -1029,18 +1029,13 @@ XboxGameTips -Disable # Включить советы Xbox Game Bar (значение по умолчанию) # XboxGameTips -Enable -<# - Choose an app and set the "High performance" graphics performance for it - Only with a dedicated GPU - - Выбрать приложение и установить параметры производительности графики на "Высокая производительность" для него - Только при наличии внешней видеокарты -#> +# Choose an app and set the "High performance" graphics performance for it. Only if you have a dedicated GPU +# Выбрать приложение и установить для него параметры производительности графики на "Высокая производительность". Только при наличии внешней видеокарты SetAppGraphicsPerformance <# Turn on hardware-accelerated GPU scheduling. Restart needed - Only with a dedicated GPU and WDDM verion is 2.7 or higher + Only if you have a dedicated GPU and WDDM verion is 2.7 or higher Включить планирование графического процессора с аппаратным ускорением. Необходима перезагрузка Только при наличии внешней видеокарты и WDDM версии 2.7 и выше @@ -1055,12 +1050,10 @@ GPUScheduling -Enable #region Scheduled tasks <# Create the "Windows Cleanup" scheduled task for cleaning up Windows unused files and updates - A native interactive toast notification pops up every 30 days - The task runs every 30 days + A native interactive toast notification pops up every 30 days. The task runs every 30 days Создать задачу "Windows Cleanup" по очистке неиспользуемых файлов и обновлений Windows в Планировщике заданий - Нативный интерактивный тост всплывает каждые 30 дней - Задача выполняется каждые 30 дней + Нативный интерактивный тост всплывает каждые 30 дней. Задача выполняется каждые 30 дней #> CleanupTask -Register @@ -1070,12 +1063,10 @@ CleanupTask -Register <# 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 + The task will wait until the Windows Updates service finishes running. The task runs every 90 days Создать задачу "SoftwareDistribution" по очистке папки %SystemRoot%\SoftwareDistribution\Download в Планировщике заданий - Задача будет ждать, пока служба обновлений Windows не закончит работу - Задача выполняется каждые 90 дней + Задача будет ждать, пока служба обновлений Windows не закончит работу. Задача выполняется каждые 90 дней #> SoftwareDistributionTask -Register @@ -1085,10 +1076,10 @@ SoftwareDistributionTask -Register <# Create the "Temp" scheduled task for cleaning up the %TEMP% folder - The task runs every 60 days + Only files older than one day will be deleted. The task runs every 60 days Создать задачу "Temp" в Планировщике заданий по очистке папки %TEMP% - Задача выполняется каждые 60 дней + Удаляться будут только файлы старше одного дня. Задача выполняется каждые 60 дней #> TempTask -Register @@ -1157,16 +1148,16 @@ CommandLineProcessAudit -Enable # CommandLineProcessAudit -Disable <# - Create "Process Creation" Event Viewer сustom view - In order this feature to work events auditing (AuditProcess -Enable) and command line in process creation events will be enabled + Create the "Process Creation" Event Viewer сustom view to log the executed processes and their arguments + In order this feature to work events auditing (AuditProcess -Enable) and command line (CommandLineProcessAudit -Enable) in process creation events will be enabled - Создать настаиваемое представление "Создание процесса" в Просмотре событий - Для того, чтобы работал данный функционал, буден включен аудит событий (AuditProcess -Enable) и командной строки в событиях создания процесса + Создать настраиваемое представление "Создание процесса" в Просмотре событий для журналирования запускаемых процессов и их аргументов + Для того, чтобы работал данный функционал, буден включен аудит событий (AuditProcess -Enable) и командной строки (CommandLineProcessAudit -Enable) в событиях создания процесса #> EventViewerCustomView -Enable -# Remove "Process Creation" Event Viewer Custom View (default value) -# Удалить настаиваемое представление "Создание процесса" в Просмотре событий (значение по умолчанию) +# Remove "Process Creation" Event Viewer сustom view to log the executed processes and their arguments (default value) +# Удалить настаиваемое представление "Создание процесса" в Просмотре событий для журналирования запускаемых процессов и их аргументов (значение по умолчанию) # EventViewerCustomView -Disable # Enable logging for all Windows PowerShell modules