Browse Source

25.08.2021 v6.0.3

pull/240/head
Dmitry Nefedov 4 years ago
committed by GitHub
parent
commit
ffdf9500c1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 53
      Sophia/Windows 11/Functions.ps1
  2. 12
      Sophia/Windows 11/Localizations/de-DE/Sophia.psd1
  3. 14
      Sophia/Windows 11/Localizations/en-US/Sophia.psd1
  4. 14
      Sophia/Windows 11/Localizations/es-ES/Sophia.psd1
  5. 14
      Sophia/Windows 11/Localizations/fr-FR/Sophia.psd1
  6. 14
      Sophia/Windows 11/Localizations/hu-HU/Sophia.psd1
  7. 14
      Sophia/Windows 11/Localizations/it-IT/Sophia.psd1
  8. 16
      Sophia/Windows 11/Localizations/pt-BR/Sophia.psd1
  9. 14
      Sophia/Windows 11/Localizations/ru-RU/Sophia.psd1
  10. 12
      Sophia/Windows 11/Localizations/tr-TR/Sophia.psd1
  11. 12
      Sophia/Windows 11/Localizations/uk-UA/Sophia.psd1
  12. 14
      Sophia/Windows 11/Localizations/zh-CN/Sophia.psd1
  13. 2
      Sophia/Windows 11/Manifest/Sophia.psd1
  14. 408
      Sophia/Windows 11/Module/Sophia.psm1
  15. 134
      Sophia/Windows 11/Sophia.ps1

53
Sophia/Windows 11/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS .SYNOPSIS
The TAB completion for functions and their arguments The TAB completion for functions and their arguments
Version: v6.0.2 Version: v6.0.3
Date: 06.08.2021 Date: 25.08.2021
Copyright (c) 20142021 farag Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic Copyright (c) 20192021 farag & Inestic
@ -54,7 +54,7 @@ function Sophia
Clear-Host Clear-Host
$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" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.3 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014–2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force
@ -84,30 +84,6 @@ $Parameters = @{
{ {
$ParameterSets = (Get-Command -Name $Command).Parametersets.Parameters | Where-Object -FilterScript {$null -eq $_.Attributes.AliasNames} $ParameterSets = (Get-Command -Name $Command).Parametersets.Parameters | Where-Object -FilterScript {$null -eq $_.Attributes.AliasNames}
# If a module command is PinToStart
if ($Command -eq "PinToStart")
{
# Get all command arguments, excluding defaults
foreach ($ParameterSet in $ParameterSets.Name)
{
# If an argument is Tiles
if ($ParameterSet -eq "Tiles")
{
$ValidValues = ((Get-Command -Name PinToStart).Parametersets.Parameters | Where-Object -FilterScript {$null -eq $_.Attributes.AliasNames}).Attributes.ValidValues
foreach ($ValidValue in $ValidValues)
{
# The "PinToStart -Tiles <function>" construction
"PinToStart" + " " + "-" + $ParameterSet + " " + $ValidValue | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""}
}
# The "PinToStart -Tiles <functions>" construction
"PinToStart" + " " + "-" + $ParameterSet + " " + ($ValidValues -join ", ") | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""}
}
continue
}
}
# If a module command is UnpinTaskbarShortcuts # If a module command is UnpinTaskbarShortcuts
if ($Command -eq "UnpinTaskbarShortcuts") if ($Command -eq "UnpinTaskbarShortcuts")
{ {
@ -151,6 +127,25 @@ $Parameters = @{
} }
} }
# If a module command is DNSoverHTTPS
if ($Command -eq "DNSoverHTTPS")
{
(Get-Command -Name $Command).Name | Where-Object -FilterScript {$_ -like "*$wordToComplete*"}
# Get the valid IPv4 addresses array
# ((Get-Command -Name DNSoverHTTPS).Parametersets.Parameters | Where-Object -FilterScript {$null -eq $_.Attributes.AliasNames}).Attributes.ValidValues | Select-Object -Unique
$ValidValues = @((Get-ChildItem -Path HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters\DohWellKnownServers).PSChildName) | Where-Object {$_ -notmatch ":"}
foreach ($ValidValue in $ValidValues)
{
$ValidValuesDescending = @((Get-ChildItem -Path HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters\DohWellKnownServers).PSChildName) | Where-Object {$_ -notmatch ":"}
foreach ($ValidValueDescending in $ValidValuesDescending)
{
# The "DNSoverHTTPS -Enable -PrimaryDNS x.x.x.x -SecondaryDNS x.x.x.x" construction
"DNSoverHTTPS -Enable -PrimaryDNS $ValidValue -SecondaryDNS $ValidValueDescending" | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""}
}
}
}
foreach ($ParameterSet in $ParameterSets.Name) foreach ($ParameterSet in $ParameterSets.Name)
{ {
# The "Function -Argument" construction # The "Function -Argument" construction
@ -168,10 +163,10 @@ $Parameters = @{
} }
Register-ArgumentCompleter @Parameters Register-ArgumentCompleter @Parameters
Write-Information -MessageData "`n" -InformationAction Continue Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message "Sophia -Functions <tab>" -Verbose Write-Verbose -Message "Sophia -Functions <tab>" -Verbose
Write-Verbose -Message "Sophia -Functions temp<tab>" -Verbose Write-Verbose -Message "Sophia -Functions temp<tab>" -Verbose
Write-Verbose -Message "Sophia -Functions `"DiagTrackService -Disable`", `"DiagnosticDataLevel -Minimal`", UninstallUWPApps" -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 "UninstallUWPApps, `"PinToStart -UnpinAll`"" -Verbose
Write-Verbose -Message "`"Set-Association -ProgramPath ```"%ProgramFiles%\Notepad++\notepad++.exe```" -Extension .txt -Icon ```"%ProgramFiles%\Notepad++\notepad++.exe,0```"`"" -Verbose Write-Verbose -Message "`"Set-Association -ProgramPath ```"%ProgramFiles%\Notepad++\notepad++.exe```" -Extension .txt -Icon ```"%ProgramFiles%\Notepad++\notepad++.exe,0```"`"" -Verbose

12
Sophia/Windows 11/Localizations/de-DE/Sophia.psd1

@ -1,10 +1,9 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = Das Skript unterstützt nur Windows 11 x64
UnsupportedOSBuild = Das Skript unterstützt Windows 11 2004/20H2/21H1-Versionen und höher 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 UpdateWarning = Ihr Windows 11-Build: {0}.{1}. Unterstützter Build: 22000.160 und höher
UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt
LoggedInUserNotAdmin = Der angemeldete Benutzer hat keine Administratorrechte 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 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 Win10TweakerWarning = Wahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert
UnsupportedRelease = Neue Version gefunden UnsupportedRelease = Neue Version gefunden
@ -12,7 +11,7 @@ CustomizationWarning = \nHaben Sie alle Funktionen in der v
ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert
ScheduledTasks = Geplante Aufgaben ScheduledTasks = Geplante Aufgaben
OneDriveUninstalling = Deinstalliere OneDrive... OneDriveUninstalling = Deinstalliere OneDrive...
OneDriveInstalling = OneDrive wird installiert... OneDriveInstalling = Installieren von OneDrive...
OneDriveDownloading = OneDrive herunterladen... ~33 MB OneDriveDownloading = OneDrive herunterladen... ~33 MB
WindowsFeaturesTitle = Windows Eigenschaften WindowsFeaturesTitle = Windows Eigenschaften
OptionalFeaturesTitle = Optionale Eigenschaften OptionalFeaturesTitle = Optionale Eigenschaften
@ -20,15 +19,14 @@ EnableHardwareVT = Virtualisierung in UEFI aktivieren
UserShellFolderNotEmpty = Einige im Ordner "{0}" verbliebene Dateien \nVerschieben Sie sie manuell an einen neuen Ort UserShellFolderNotEmpty = Einige im Ordner "{0}" verbliebene Dateien \nVerschieben Sie sie manuell an einen neuen Ort
RetrievingDrivesList = Abrufen der Laufwerksliste... RetrievingDrivesList = Abrufen der Laufwerksliste...
DriveSelect = Wählen Sie das Laufwerk, in dessen Stammverzeichnis der "{0}"-Ordner erstellt werden soll 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? UserFolderRequest = Möchten Sie den Speicherort des "{0}"-Ordners ändern?
UserFolderSelect = Wählen Sie einen Ordner für den Ordner "{0}" UserFolderSelect = Wählen Sie einen Ordner für den Ordner "{0}"
UserDefaultFolder = Möchten Sie den Speicherort des "{0}"-Ordners auf den Standardwert ändern? 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 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 UninstallUWPForAll = Für alle Benutzer
UWPAppsTitle = UWP-Pakete 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 HEVCDownloading = Herunterladen von HEVC-Videoerweiterungen vom Gerätehersteller... ~2,8 MB
GraphicsPerformanceTitle = Bevorzugte Grafikleistung GraphicsPerformanceTitle = Bevorzugte Grafikleistung
GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" setzen? GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" setzen?

14
Sophia/Windows 11/Localizations/en-US/Sophia.psd1

@ -1,10 +1,9 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = The script supports Windows 11 x64 only UnsupportedOSBuild = The script supports Windows 11 21H2 version and higher
UnsupportedOSBuild = The script supports Windows 11 2004/20H2/21H1 versions and higher UpdateWarning = Your Windows 11 build: {0}.{1}. Supported build: 22000.160 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 UnsupportedLanguageMode = The PowerShell session in running in a limited language mode
LoggedInUserNotAdmin = The logged-on user doesn't have admin rights 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 UnsupportedISE = The script doesn't support running via Windows PowerShell ISE
Win10TweakerWarning = Probably your OS was infected via the Win 10 Tweaker backdoor Win10TweakerWarning = Probably your OS was infected via the Win 10 Tweaker backdoor
UnsupportedRelease = A new version found UnsupportedRelease = A new version found
@ -12,7 +11,7 @@ CustomizationWarning = \nHave you customized every function
ControlledFolderAccessDisabled = Controlled folder access disabled ControlledFolderAccessDisabled = Controlled folder access disabled
ScheduledTasks = Scheduled tasks ScheduledTasks = Scheduled tasks
OneDriveUninstalling = Uninstalling OneDrive... OneDriveUninstalling = Uninstalling OneDrive...
OneDriveInstalling = OneDrive is installing... OneDriveInstalling = Installing OneDrive...
OneDriveDownloading = Downloading OneDrive... ~33 MB OneDriveDownloading = Downloading OneDrive... ~33 MB
WindowsFeaturesTitle = Windows features WindowsFeaturesTitle = Windows features
OptionalFeaturesTitle = Optional features OptionalFeaturesTitle = Optional features
@ -20,15 +19,14 @@ EnableHardwareVT = Enable Virtualization in UEFI
UserShellFolderNotEmpty = Some files left in the "{0}" folder. Move them manually to a new location UserShellFolderNotEmpty = Some files left in the "{0}" folder. Move them manually to a new location
RetrievingDrivesList = Retrieving drives list... RetrievingDrivesList = Retrieving drives list...
DriveSelect = Select the drive within the root of which the "{0}" folder will be created 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? UserFolderRequest = Would you like to change the location of the "{0}" folder?
UserFolderSelect = Select a folder for 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? 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 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 UninstallUWPForAll = For all users
UWPAppsTitle = UWP apps 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 HEVCDownloading = Downloading HEVC Video Extensions from Device Manufacturer... ~2,8 MB
GraphicsPerformanceTitle = Graphics performance preference GraphicsPerformanceTitle = Graphics performance preference
GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"?

14
Sophia/Windows 11/Localizations/es-ES/Sophia.psd1

@ -1,10 +1,9 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = El script sólo es compatible con Windows 11 x64 UnsupportedOSBuild = El script es compatible con versión Windows 11 21H2 y superiores
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.160 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 UnsupportedLanguageMode = Sesión de PowerShell ejecutada en modo de lenguaje limitado
LoggedInUserNotAdmin = El usuario que inició sesión no tiene derechos de administrador 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 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 Win10TweakerWarning = Probablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker
UnsupportedRelease = Una nueva versión encontrada UnsupportedRelease = Una nueva versión encontrada
@ -12,7 +11,7 @@ CustomizationWarning = \n¿Ha personalizado todas las funci
ControlledFolderAccessDisabled = Acceso a la carpeta controlada deshabilitado ControlledFolderAccessDisabled = Acceso a la carpeta controlada deshabilitado
ScheduledTasks = Tareas programadas ScheduledTasks = Tareas programadas
OneDriveUninstalling = Desinstalar OneDrive... OneDriveUninstalling = Desinstalar OneDrive...
OneDriveInstalling = OneDrive se está instalando... OneDriveInstalling = Instalación de OneDrive...
OneDriveDownloading = Descargando OneDrive... ~33 MB OneDriveDownloading = Descargando OneDrive... ~33 MB
WindowsFeaturesTitle = Características de Windows WindowsFeaturesTitle = Características de Windows
OptionalFeaturesTitle = Características opcionales OptionalFeaturesTitle = Características opcionales
@ -20,15 +19,14 @@ EnableHardwareVT = Habilitar la virtualización en UEFI
UserShellFolderNotEmpty = Algunos archivos quedan en la carpeta "{0}". Moverlos manualmente a una nueva ubicación UserShellFolderNotEmpty = Algunos archivos quedan en la carpeta "{0}". Moverlos manualmente a una nueva ubicación
RetrievingDrivesList = Recuperando lista de unidades... RetrievingDrivesList = Recuperando lista de unidades...
DriveSelect = Seleccione la unidad dentro de la raíz de la cual se creó la carpeta "{0}" 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? UserFolderRequest = ¿Le gustaría cambiar la ubicación de la "{0}" carpeta?
UserFolderSelect = Seleccione una carpeta para la carpeta "{0}" 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? 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 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 UninstallUWPForAll = Para todos los usuarios
UWPAppsTitle = Aplicaciones UWP 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 HEVCDownloading = Descargando HEVC Vídeo Extensiones del Fabricante del dispositivo... ~2,8 MB
GraphicsPerformanceTitle = Preferencia de rendimiento gráfico 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"? GraphicsPerformanceRequest = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"?

14
Sophia/Windows 11/Localizations/fr-FR/Sophia.psd1

@ -1,10 +1,9 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = Le script supporte uniquement Windows 11 x64 UnsupportedOSBuild = Le script supporte les versions Windows 11 21H2 et ultérieures
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.160 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é UnsupportedLanguageMode = La session PowerShell s'exécute dans un mode de langue limité
LoggedInUserNotAdmin = L'utilisateur connecté n'a pas de droits d'administrateur 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 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 Win10TweakerWarning = Votre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker
UnsupportedRelease = Nouvelle version trouvée UnsupportedRelease = Nouvelle version trouvée
@ -12,7 +11,7 @@ CustomizationWarning = \nAvez-vous personnalisé chaque fon
ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé
ScheduledTasks = Tâches planifiées ScheduledTasks = Tâches planifiées
OneDriveUninstalling = Désinstalltion de OneDrive... OneDriveUninstalling = Désinstalltion de OneDrive...
OneDriveInstalling = OneDrive en cours d'installation... OneDriveInstalling = Installation de OneDrive...
OneDriveDownloading = Téléchargement de OneDrive... ~33 Mo OneDriveDownloading = Téléchargement de OneDrive... ~33 Mo
WindowsFeaturesTitle = Fonctionnalités WindowsFeaturesTitle = Fonctionnalités
OptionalFeaturesTitle = Fonctionnalités optionnelles OptionalFeaturesTitle = Fonctionnalités optionnelles
@ -20,15 +19,14 @@ EnableHardwareVT = Activer la virtualisation dans UEFI
UserShellFolderNotEmpty = Certains fichiers laissés dans le dossier "{0}". Déplacer les manuellement vers un nouvel emplacement 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... RetrievingDrivesList = Récupération de la liste des lecteurs...
DriveSelect = Sélectionnez le disque à la racine dans lequel le dossier "{0}" sera créé. 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 est placé le dossier "{0}" ? UserFolderRequest = Voulez vous changer est placé le dossier "{0}" ?
UserFolderSelect = Sélectionnez un dossier pour le dossier "{0}" UserFolderSelect = Sélectionnez un dossier pour le dossier "{0}"
UserDefaultFolder = Voulez vous changer est placé le dossier "{0}" à sa valeur par défaut? UserDefaultFolder = Voulez vous changer 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 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 UninstallUWPForAll = Pour tous les utilisateurs
UWPAppsTitle = Applications UWP 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 HEVCDownloading = Téléchargement de Extensions vidéo HEVC du fabricant de l'appareil... ~2,8 MB
GraphicsPerformanceTitle = Préférence de performances graphiques 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"? GraphicsPerformanceRequest = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"?

14
Sophia/Windows 11/Localizations/hu-HU/Sophia.psd1

@ -1,10 +1,9 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = A szkript csak a Windows 11 64 bites verziót támogatja UnsupportedOSBuild = A szkript a Windows 11 21H2 és újabb kiadásokat 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.160 és magasabb verziószámok
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 UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut
LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal 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 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 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 UnsupportedRelease = Új verzió érhető el
@ -12,7 +11,7 @@ CustomizationWarning = \nSzemélyre szabott minden opciót
ControlledFolderAccessDisabled = Vezérelt mappához való hozzáférés kikapcsolva ControlledFolderAccessDisabled = Vezérelt mappához való hozzáférés kikapcsolva
ScheduledTasks = Ütemezett feladatok ScheduledTasks = Ütemezett feladatok
OneDriveUninstalling = OneDrive eltávolítása... OneDriveUninstalling = OneDrive eltávolítása...
OneDriveInstalling = OneDrive telepítése folyamatban... OneDriveInstalling = OneDrive telepítése...
OneDriveDownloading = OneDrive letöltése... ~33 MB OneDriveDownloading = OneDrive letöltése... ~33 MB
WindowsFeaturesTitle = Windows szolgáltatások WindowsFeaturesTitle = Windows szolgáltatások
OptionalFeaturesTitle = Opcionális szolgáltatások OptionalFeaturesTitle = Opcionális szolgáltatások
@ -20,15 +19,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 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... 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 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? 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 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? 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 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 UninstallUWPForAll = Az összes felhasználó számára
UWPAppsTitle = UWP Alkalmazások 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 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 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"? GraphicsPerformanceRequest = Szeretné megváltoztatni a grafikus teljesítmény beállítást az ön által kiválasztott alkalmazásban "Nagy teljesítményre"?

14
Sophia/Windows 11/Localizations/it-IT/Sophia.psd1

@ -1,10 +1,9 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = Lo script supporta solo Windows 11 x64 UnsupportedOSBuild = Lo script supporta Windows 11, 21H2 versioni e superiori
UnsupportedOSBuild = Lo script supporta Windows 11, 2004/20H2/21H1 versioni e superiori UpdateWarning = La tua build di Windows 11: {0}.{1}. Build supportata: 22000.160 e successive
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 UnsupportedLanguageMode = La sessione PowerShell è in esecuzione in una modalità di lingua limitata
LoggedInUserNotAdmin = L'utente connesso non ha i diritti di amministratore 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 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 Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker
UnsupportedRelease = Nuova versione trovata UnsupportedRelease = Nuova versione trovata
@ -12,7 +11,7 @@ CustomizationWarning = \nSono state personalizzate tutte le
ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata
ScheduledTasks = Attività pianificate ScheduledTasks = Attività pianificate
OneDriveUninstalling = Disinstalla OneDrive... OneDriveUninstalling = Disinstalla OneDrive...
OneDriveInstalling = OneDrive si sta installando... OneDriveInstalling = Installazione di OneDrive...
OneDriveDownloading = Download di OneDrive... ~33 MB OneDriveDownloading = Download di OneDrive... ~33 MB
WindowsFeaturesTitle = Funzionalità di Windows WindowsFeaturesTitle = Funzionalità di Windows
OptionalFeaturesTitle = Caratteristiche opzionali OptionalFeaturesTitle = Caratteristiche opzionali
@ -20,15 +19,14 @@ EnableHardwareVT = Abilita virtualizzazione in UEFI
UserShellFolderNotEmpty = Alcuni file lasciati nella cartella "{0}". li spostare manualmente in una nuova posizione UserShellFolderNotEmpty = Alcuni file lasciati nella cartella "{0}". li spostare manualmente in una nuova posizione
RetrievingDrivesList = Recupero lista unità... RetrievingDrivesList = Recupero lista unità...
DriveSelect = Selezionare l'unità all'interno della radice del quale verrà creato il "{0}" cartella 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? UserFolderRequest = Volete cambiare la posizione del "{0}" cartella?
UserFolderSelect = Selezionare una cartella per la cartella "{0}" UserFolderSelect = Selezionare una cartella per la cartella "{0}"
UserDefaultFolder = Volete cambiare la posizione della cartella "{0}" al valore di default? 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 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 UninstallUWPForAll = Per tutti gli utenti
UWPAppsTitle = UWP Apps 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 HEVCDownloading = Il download HEVC Video estensioni da dispositivo Produttore... ~2,8 MB
GraphicsPerformanceTitle = Preferenza per le prestazioni grafiche GraphicsPerformanceTitle = Preferenza per le prestazioni grafiche
GraphicsPerformanceRequest = Volete impostare l'impostazione prestazioni grafiche di un app di vostra scelta per "performance High"? GraphicsPerformanceRequest = Volete impostare l'impostazione prestazioni grafiche di un app di vostra scelta per "performance High"?

16
Sophia/Windows 11/Localizations/pt-BR/Sophia.psd1

@ -1,10 +1,9 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = O script suporta somente Windows 11 x64 UnsupportedOSBuild = O script suporta versões Windows 11 21H2 e superior
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.160 e successive
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 UnsupportedLanguageMode = A sessão PowerShell em funcionamento em um modo de linguagem limitada
LoggedInUserNotAdmin = O usuário logado não tem direitos de administrador 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 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 Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker
UnsupportedRelease = Nova versão encontrada UnsupportedRelease = Nova versão encontrada
@ -12,7 +11,7 @@ CustomizationWarning = \nVocê personalizou todas as funç
ControlledFolderAccessDisabled = Acesso controlado a pasta desativada ControlledFolderAccessDisabled = Acesso controlado a pasta desativada
ScheduledTasks = Tarefas agendadas ScheduledTasks = Tarefas agendadas
OneDriveUninstalling = Desinstalar OneDrive... OneDriveUninstalling = Desinstalar OneDrive...
OneDriveInstalling = OneDrive está instalando... OneDriveInstalling = Instalar o OneDrive...
OneDriveDownloading = Baixando OneDrive... ~33 MB OneDriveDownloading = Baixando OneDrive... ~33 MB
WindowsFeaturesTitle = Recursos do Windows WindowsFeaturesTitle = Recursos do Windows
OptionalFeaturesTitle = Recursos opcionais OptionalFeaturesTitle = Recursos opcionais
@ -20,15 +19,14 @@ EnableHardwareVT = Habilitar virtualização em UEFI
UserShellFolderNotEmpty = Alguns arquivos deixados na pasta "{0}". Movê-los manualmente para um novo local UserShellFolderNotEmpty = Alguns arquivos deixados na pasta "{0}". Movê-los manualmente para um novo local
RetrievingDrivesList = Recuperando lista de unidades... RetrievingDrivesList = Recuperando lista de unidades...
DriveSelect = Selecione a unidade dentro da raiz da qual a pasta "{0}" será criada 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}"? UserFolderRequest = Gostaria de alterar a localização da pasta "{0}"?
UserFolderSelect = Selecione uma pasta para a 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? 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 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 ShortcutPinning = O atalho "{0}" está sendo fixado no Iniciar...
UninstallUWPForAll = Para todos os usuários UninstallUWPForAll = Para todos os usuários...
UWPAppsTitle = Apps UWP 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 HEVCDownloading = Baixando HEVC Vídeo Extensões de Dispositivo Fabricante... ~ 2,8 MB
GraphicsPerformanceTitle = Preferência de desempenho gráfico 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"? GraphicsPerformanceRequest = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"?

14
Sophia/Windows 11/Localizations/ru-RU/Sophia.psd1

@ -1,12 +1,11 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = Скрипт поддерживает только Windows 11 x64 UnsupportedOSBuild = Скрипт поддерживает только Windows 11 21H2 и выше
UnsupportedOSBuild = Скрипт поддерживает только Windows 11 версии 2004/20H2/21H1 и выше UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемый билд: 22000.160 и выше
UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемый билд: 22000.120 и выше
UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме
LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора
UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}. Запустите скрипт в соответствующей версии PowerShell UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell
UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE
Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker заражена трояном Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном
UnsupportedRelease = Обнаружена новая версия UnsupportedRelease = Обнаружена новая версия
CustomizationWarning = \nВы настроили все функции в пресет-файле Sophia.ps1 перед запуском Sophia Script? CustomizationWarning = \nВы настроили все функции в пресет-файле Sophia.ps1 перед запуском Sophia Script?
ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен
@ -20,15 +19,14 @@ EnableHardwareVT = Включите виртуализ
UserShellFolderNotEmpty = В папке "{0}" остались файлы. Переместите их вручную в новое расположение UserShellFolderNotEmpty = В папке "{0}" остались файлы. Переместите их вручную в новое расположение
RetrievingDrivesList = Получение списка дисков... RetrievingDrivesList = Получение списка дисков...
DriveSelect = Выберите диск, в корне которого будет создана папка "{0}" DriveSelect = Выберите диск, в корне которого будет создана папка "{0}"
CurrentUserFolderLocation = Текущее расположение папки "{0}": "{1}"
UserFolderRequest = Хотите изменить расположение папки "{0}"? UserFolderRequest = Хотите изменить расположение папки "{0}"?
UserFolderSelect = Выберите папку для "{0}" UserFolderSelect = Выберите папку для "{0}"
UserDefaultFolder = Хотите изменить расположение папки "{0}" на значение по умолчанию? UserDefaultFolder = Хотите изменить расположение папки "{0}" на значение по умолчанию?
ReservedStorageIsInUse = Операция не поддерживается, пока используется зарезервированное хранилище\nПожалуйста, повторно запустите функцию "{0}" после перезагрузки ReservedStorageIsInUse = Операция не поддерживается, пока используется зарезервированное хранилище\nПожалуйста, повторно запустите функцию "{0}" после перезагрузки
ShortcutPinning = Ярлык "{0}" закрепляется на начальном экране ShortcutPinning = Ярлык "{0}" закрепляется на начальном экране...
UninstallUWPForAll = Для всех пользователей UninstallUWPForAll = Для всех пользователей
UWPAppsTitle = UWP-приложения UWPAppsTitle = UWP-приложения
WSLUpdateDownloading = Скачивается пакет обновления ядра Linux... ~14 МБ
WSLUpdateInstalling = Установка пакета обновления ядра Linux...
HEVCDownloading = Скачивается расширения для видео HEVC от производителя устройства... ~2,8 МБ HEVCDownloading = Скачивается расширения для видео HEVC от производителя устройства... ~2,8 МБ
GraphicsPerformanceTitle = Настройка производительности графики GraphicsPerformanceTitle = Настройка производительности графики
GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"?

12
Sophia/Windows 11/Localizations/tr-TR/Sophia.psd1

@ -1,10 +1,9 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = Bu betik sadece Windows 11 x64 destekliyor UnsupportedOSBuild = Bu betik sadece Windows 11 21H2 sürüm ve üstünü 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.160 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 UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu
LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok 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 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ı Win10TweakerWarning = Muhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı
UnsupportedRelease = Yeni sürüm bulundu UnsupportedRelease = Yeni sürüm bulundu
@ -20,15 +19,14 @@ EnableHardwareVT = UEFI'dan sanallaştırmayı aktifle
UserShellFolderNotEmpty = "{0}" klasöründe bazı dosyalar kaldı. \nKendiniz yeni konuma taşıyın UserShellFolderNotEmpty = "{0}" klasöründe bazı dosyalar kaldı. \nKendiniz yeni konuma taşıyın
RetrievingDrivesList = Sürücü listesi alınıyor... 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 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? UserFolderRequest = "{0}" klasörünün yerini değiştirmek ister misiniz?
UserFolderSelect = "{0}" klasörü için bir klasör seçin 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? 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 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 UninstallUWPForAll = Bütün kullanıcılar için
UWPAppsTitle = UWP Uygulamaları 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 HEVCDownloading = "Cihaz Üreticisinden HEVC Video Uzantıları" İndiriliyor... ~2,8 MB
GraphicsPerformanceTitle = Grafik performans tercihi GraphicsPerformanceTitle = Grafik performans tercihi
GraphicsPerformanceRequest = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz? GraphicsPerformanceRequest = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz?

12
Sophia/Windows 11/Localizations/uk-UA/Sophia.psd1

@ -1,10 +1,9 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = Скрипт підтримує тільки Windows 11 x64 UnsupportedOSBuild = Скрипт підтримує тільки Windows 11 версії 21H2 та вище
UnsupportedOSBuild = Скрипт підтримує тільки Windows 11 версії 2004/20H2/21H1 та вище UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримуваний білд: 22000.160 та вище
UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримуваний білд: 22000.120 та вище
UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі
LoggedInUserNotAdmin = Поточний увійшов користувач не володіє правами адміністратора LoggedInUserNotAdmin = Поточний увійшов користувач не володіє правами адміністратора
UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}. Запустіть скрипт у відповідній версії PowerShell UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell
UnsupportedISE = Скрипт не підтримує роботу через Windows PowerShell ISE UnsupportedISE = Скрипт не підтримує роботу через Windows PowerShell ISE
Win10TweakerWarning = Ваша ОС, можливо, через бекдор в Win 10 Tweaker заражена трояном Win10TweakerWarning = Ваша ОС, можливо, через бекдор в Win 10 Tweaker заражена трояном
UnsupportedRelease = Виявлено нову версію UnsupportedRelease = Виявлено нову версію
@ -20,15 +19,14 @@ EnableHardwareVT = Увімкніть віртуалі
UserShellFolderNotEmpty = У папці "{0}" залишились файли. Перемістіть їх вручну у нове розташування UserShellFolderNotEmpty = У папці "{0}" залишились файли. Перемістіть їх вручну у нове розташування
RetrievingDrivesList = Отримання списку дисків... RetrievingDrivesList = Отримання списку дисків...
DriveSelect = Виберіть диск, в корні якого буде створена папка для "{0}" DriveSelect = Виберіть диск, в корні якого буде створена папка для "{0}"
CurrentUserFolderLocation = Текуще розташування папок "{0}": "{1}"
UserFolderRequest = Хочете змінити розташування папки "{0}"? UserFolderRequest = Хочете змінити розташування папки "{0}"?
UserFolderSelect = Виберіть папку для "{0}" UserFolderSelect = Виберіть папку для "{0}"
UserDefaultFolder = Хочете змінити розташування папки "{0}" на значення за замовчуванням? UserDefaultFolder = Хочете змінити розташування папки "{0}" на значення за замовчуванням?
ReservedStorageIsInUse = Операція не підтримується, поки використовується зарезервоване сховище\nБудь ласка, повторно запустіть функцію "{0}" після перезавантаження ReservedStorageIsInUse = Операція не підтримується, поки використовується зарезервоване сховище\nБудь ласка, повторно запустіть функцію "{0}" після перезавантаження
ShortcutPinning = Ярлик "{0}" закріплюється на початковому екрані ShortcutPinning = Ярлик "{0}" закріплюється на початковому екрані...
UninstallUWPForAll = Для всіх користувачів UninstallUWPForAll = Для всіх користувачів
UWPAppsTitle = Програми UWP UWPAppsTitle = Програми UWP
WSLUpdateDownloading = Завантажується пакет оновлення ядра Linux... ~14 МБ
WSLUpdateInstalling = Встановлення пакета оновлення ядра Linux...
HEVCDownloading = Завантаження "Розширення відео HEVC від виробника пристрою"... ~2,8 МБ HEVCDownloading = Завантаження "Розширення відео HEVC від виробника пристрою"... ~2,8 МБ
GraphicsPerformanceTitle = Налаштування продуктивності графіки GraphicsPerformanceTitle = Налаштування продуктивності графіки
GraphicsPerformanceRequest = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"? GraphicsPerformanceRequest = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"?

14
Sophia/Windows 11/Localizations/zh-CN/Sophia.psd1

@ -1,10 +1,9 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = 该脚本仅支持Windows 11 x64 UnsupportedOSBuild = 该脚本支持Windows 11版本21H2和更高版本
UnsupportedOSBuild = 该脚本支持Windows 11版本2004/20H2/21H1和更高版本 UpdateWarning = 您的Windows 11构建{0}.{1}支持的构建22000.160和更高版本
UpdateWarning = 您的Windows 11构建{0}.{1}支持的构建22000.120和更高版本
UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行
LoggedInUserNotAdmin = 登录的用户没有管理员的权利 LoggedInUserNotAdmin = 登录的用户没有管理员的权利
UnsupportedPowerShell = 你想通过PowerShell {0}运行脚本在适当的PowerShell版本中运行该脚本 UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本在适当的PowerShell版本中运行该脚本
UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行 UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行
Win10TweakerWarning = 可能你的操作系统是通过Win 10 Tweaker后门感染的 Win10TweakerWarning = 可能你的操作系统是通过Win 10 Tweaker后门感染的
UnsupportedRelease = 找到新版本 UnsupportedRelease = 找到新版本
@ -20,16 +19,15 @@ EnableHardwareVT = UEFI中开启虚拟化
UserShellFolderNotEmpty = 一些文件留在了{0}文件夹请手动将它们移到一个新位置 UserShellFolderNotEmpty = 一些文件留在了{0}文件夹请手动将它们移到一个新位置
RetrievingDrivesList = 取得驱动器列表 RetrievingDrivesList = 取得驱动器列表
DriveSelect = 选择将在其根目录中创建{0}文件夹的驱动器 DriveSelect = 选择将在其根目录中创建{0}文件夹的驱动器
CurrentUserFolderLocation = 当前"{0}"文件夹的位置:"{1}"
UserFolderRequest = 是否要更改{0}文件夹位置 UserFolderRequest = 是否要更改{0}文件夹位置
UserFolderSelect = {0}文件夹选择一个文件夹 UserFolderSelect = {0}文件夹选择一个文件夹
UserDefaultFolder = 您想将{0}文件夹的位置更改为默认值吗 UserDefaultFolder = 您想将{0}文件夹的位置更改为默认值吗
ReservedStorageIsInUse = 保留存储空间正在使用时不支持此操作\n请在电脑重启后重新运行"{0}"功能 ReservedStorageIsInUse = 保留存储空间正在使用时不支持此操作\n请在电脑重启后重新运行"{0}"功能
ShortcutPinning = {0}快捷方式将被固定到开始菜单 ShortcutPinning = {0}快捷方式将被固定到开始菜单
UninstallUWPForAll = 对于所有用户 UninstallUWPForAll = 对于所有用户
UWPAppsTitle = UWP应用 UWPAppsTitle = UWP应用
WSLUpdateDownloading = Linux内核更新包下载中 ~14 MB HEVCDownloading = 下载HEVC Video Extensions from Device Manufacturer ~2,8 MB
WSLUpdateInstalling = 安装Linux内核更新包
HEVCDownloading = Downloading 来自设备制造商的 HEVC 视频扩展... ~2,8 MB
GraphicsPerformanceTitle = 图形性能偏好 GraphicsPerformanceTitle = 图形性能偏好
GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能" GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能"
TaskNotificationTitle = 通知 TaskNotificationTitle = 通知

2
Sophia/Windows 11/Manifest/Sophia.psd1

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

408
Sophia/Windows 11/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS .SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v6.0.2 Version: v6.0.3
Date: 06.08.2021 Date: 25.08.2021
Copyright (c) 20142021 farag Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic Copyright (c) 20192021 farag & Inestic
@ -15,8 +15,8 @@
.NOTES .NOTES
Supported Windows 11 version Supported Windows 11 version
Version: Sun Valley Version: 21H2
Build: 22000.120 Build: 22000.160
Editions: Home/Pro/Enterprise Editions: Home/Pro/Enterprise
.NOTES .NOTES
@ -34,7 +34,7 @@
https://github.com/farag2 https://github.com/farag2
https://github.com/Inestic https://github.com/Inestic
.NOTES .LINK
https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15
https://habr.com/company/skillfactory/blog/553800/ https://habr.com/company/skillfactory/blog/553800/
https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/ https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/
@ -56,16 +56,6 @@ function Checkings
# Сlear the $Error variable # Сlear the $Error variable
$Global:Error.Clear() $Global:Error.Clear()
# Detect the OS bitness
switch ([System.Environment]::Is64BitOperatingSystem)
{
$false
{
Write-Warning -Message $Localization.UnsupportedOSBitness
exit
}
}
# Detect the OS build version # Detect the OS build version
switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -ge 22000) switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -ge 22000)
{ {
@ -76,15 +66,18 @@ function Checkings
} }
} }
# Check whether the OS minor build version is 120 minimum # Check whether the OS minor build version is 160 minimum
switch ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -ge 120) switch ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -ge 160)
{ {
$false $false
{ {
$Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" $Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion"
$Version = $Version.CurrentBuild, $Version.UBR Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.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 exit
} }
@ -136,7 +129,7 @@ function Checkings
# Check whether the script was run via PowerShell 5.1 # Check whether the script was run via PowerShell 5.1
if ($PSVersionTable.PSVersion.Major -ne 5) if ($PSVersionTable.PSVersion.Major -ne 5)
{ {
Write-Warning -Message ($Localization.UnsupportedPowerShell -f $PSVersionTable.PSVersion.ToString()) Write-Warning -Message ($Localization.UnsupportedPowerShell -f $PSVersionTable.PSVersion.Major, $PSVersionTable.PSVersion.Minor)
exit exit
} }
@ -161,19 +154,11 @@ function Checkings
# Check if the current module version is the latest one # Check if the current module version is the latest one
try try
{ {
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$Parameters = @{
Uri = "https://raw.githubusercontent.com/farag2/Windows-10-Sophia-Script/master/Sophia/Windows%2011/Manifest/Sophia.psd1"
OutFile = "$DownloadsFolder\Manifest.psd1"
Verbose = [switch]::Present
}
Invoke-WebRequest @Parameters
$LatestRelease = (Import-PowerShellDataFile -Path $DownloadsFolder\Manifest.psd1).ModuleVersion # 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_11_PowerShell_5_1
$CurrentRelease = (Get-Module -Name Sophia).Version.ToString() $CurrentRelease = (Get-Module -Name Sophia).Version.ToString()
Remove-Item -Path $DownloadsFolder\Manifest.psd1 -Force
switch ([System.Version]$LatestRelease -gt [System.Version]$CurrentRelease) switch ([System.Version]$LatestRelease -gt [System.Version]$CurrentRelease)
{ {
$true $true
@ -732,6 +717,7 @@ function ScheduledTasks
function DisableButton function DisableButton
{ {
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose Write-Verbose -Message $Localization.Patient -Verbose
[void]$Window.Close() [void]$Window.Close()
@ -742,6 +728,7 @@ function ScheduledTasks
function EnableButton function EnableButton
{ {
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose Write-Verbose -Message $Localization.Patient -Verbose
[void]$Window.Close() [void]$Window.Close()
@ -806,6 +793,7 @@ function ScheduledTasks
} }
} }
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose Write-Verbose -Message $Localization.Patient -Verbose
# Getting list of all scheduled tasks according to the conditions # Getting list of all scheduled tasks according to the conditions
@ -1040,13 +1028,64 @@ function AdvertisingID
<# <#
.SYNOPSIS .SYNOPSIS
Getting tip, trick, and suggestions when I use Windows The Windows welcome experiences after updates and occasionally when I sign in to highlight what's new and suggested
.PARAMETER Hide
Hide the Windows welcome experiences after updates and occasionally when I sign in to highlight what's new and suggested
.PARAMETER Show
Show the Windows welcome experiences after updates and occasionally when I sign in to highlight what's new and suggested
.EXAMPLE
WindowsWelcomeExperience -Hide
.EXAMPLE
WindowsWelcomeExperience -Show
.NOTES
Current user
#>
function WindowsWelcomeExperience
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Show"
)]
[switch]
$Show,
[Parameter(
Mandatory = $true,
ParameterSetName = "Hide"
)]
[switch]
$Hide
)
switch ($PSCmdlet.ParameterSetName)
{
"Show"
{
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 1 -Force
}
"Hide"
{
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 0 -Force
}
}
}
<#
.SYNOPSIS
Getting tip and suggestions when I use Windows
.PARAMETER Enable .PARAMETER Enable
Get tip, trick, and suggestions when I use Windows Get tip and suggestions when I use Windows
.PARAMETER Disable .PARAMETER Disable
Do not get tip, trick, and suggestions when I use Windows Do not get tip and suggestions when I use Windows
.EXAMPLE .EXAMPLE
WindowsTips -Enable WindowsTips -Enable
@ -1259,7 +1298,7 @@ function WhatsNewInWindows
Tailored experiences Tailored experiences
.PARAMETER Disable .PARAMETER Disable
Don't let Microsoft use your diagnostic data for personalized tips, ads, and recommendations Do not let Microsoft use your diagnostic data for personalized tips, ads, and recommendations
.PARAMETER Enable .PARAMETER Enable
Let Microsoft use your diagnostic data for personalized tips, ads, and recommendations Let Microsoft use your diagnostic data for personalized tips, ads, and recommendations
@ -1440,7 +1479,7 @@ function ThisPC
Windows10FileExplorer -Disable Windows10FileExplorer -Disable
.NOTES .NOTES
Enabling the Windows 10 File Explorer will block the "Share" item context menu Enabling the Windows 10 File Explorer will hide the "Share" item context menu
.NOTES .NOTES
Current user Current user
@ -1858,106 +1897,107 @@ function OneDriveFileExplorerAd
<# <#
.SYNOPSIS .SYNOPSIS
Snap layouts Windows snapping
.PARAMETER Enable
Show snap layouts when I hover over a windows's maximaze button
.PARAMETER Disable .PARAMETER Disable
Hide snap layouts when I hover over a windows's maximaze button When I snap a window, do not show what I can snap next to it
.PARAMETER Enable
When I snap a window, show what I can snap next to it
.EXAMPLE .EXAMPLE
SnapAssistFlyout -Enable SnapAssist -Disable
.EXAMPLE .EXAMPLE
SnapAssistFlyout -Disable SnapAssist -Enable
.NOTES .NOTES
Current user Current user
#> #>
function SnapAssistFlyout function SnapAssist
{ {
param param
( (
[Parameter( [Parameter(
Mandatory = $true, Mandatory = $true,
ParameterSetName = "Enable" ParameterSetName = "Disable"
)] )]
[switch] [switch]
$Enable, $Disable,
[Parameter( [Parameter(
Mandatory = $true, Mandatory = $true,
ParameterSetName = "Disable" ParameterSetName = "Enable"
)] )]
[switch] [switch]
$Disable $Enable
) )
switch ($PSCmdlet.ParameterSetName) switch ($PSCmdlet.ParameterSetName)
{ {
"Enable" "Disable"
{ {
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force
} }
"Disable" "Enable"
{ {
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force
} }
} }
} }
<# <#
.SYNOPSIS .SYNOPSIS
Windows snapping Snap layouts
.PARAMETER Disable
When I snap a window, do not show what I can snap next to it
.PARAMETER Enable .PARAMETER Enable
When I snap a window, show what I can snap next to it Show snap layouts when I hover over a windows's maximaze button
.PARAMETER Disable
Hide snap layouts when I hover over a windows's maximaze button
.EXAMPLE .EXAMPLE
SnapAssist -Disable SnapAssistFlyout -Enable
.EXAMPLE .EXAMPLE
SnapAssist -Enable SnapAssistFlyout -Disable
.NOTES .NOTES
Current user Current user
#> #>
function SnapAssist function SnapAssistFlyout
{ {
param param
( (
[Parameter( [Parameter(
Mandatory = $true, Mandatory = $true,
ParameterSetName = "Disable" ParameterSetName = "Enable"
)] )]
[switch] [switch]
$Disable, $Enable,
[Parameter( [Parameter(
Mandatory = $true, Mandatory = $true,
ParameterSetName = "Enable" ParameterSetName = "Disable"
)] )]
[switch] [switch]
$Enable $Disable
) )
switch ($PSCmdlet.ParameterSetName) switch ($PSCmdlet.ParameterSetName)
{ {
"Disable" "Enable"
{ {
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 1 -Force
} }
"Enable" "Disable"
{ {
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 0 -Force
} }
} }
} }
<# <#
.SYNOPSIS .SYNOPSIS
The file transfer dialog box mode The file transfer dialog box mode
@ -2505,7 +2545,7 @@ function TaskbarChat
Icons in the notification area Icons in the notification area
.NOTES .NOTES
Open Notification Area Icons in Control Panel using its GUID Open the "Notification Area Icons" page in Control Panel to enable "Always show all icons in the notification area" settings manually
.NOTES .NOTES
Current user Current user
@ -3035,10 +3075,10 @@ function TaskManagerWindow
Notification when your PC requires a restart to finish updating Notification when your PC requires a restart to finish updating
.PARAMETER Show .PARAMETER Show
Show a notification when your PC requires a restart to finish updating Notify me when a restart is required to finish updatingg
.PARAMETER Hide .PARAMETER Hide
Hide a notification when your PC requires a restart to finish updating Do not notify me when a restart is required to finish updating
.EXAMPLE .EXAMPLE
RestartNotification -Show RestartNotification -Show
@ -4555,6 +4595,7 @@ function WindowsFeatures
function DisableButton function DisableButton
{ {
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose Write-Verbose -Message $Localization.Patient -Verbose
[void]$Window.Close() [void]$Window.Close()
@ -4565,6 +4606,7 @@ function WindowsFeatures
function EnableButton function EnableButton
{ {
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose Write-Verbose -Message $Localization.Patient -Verbose
[void]$Window.Close() [void]$Window.Close()
@ -5741,6 +5783,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int
while ($k.Key -notin ([ConsoleKey]::Escape, [ConsoleKey]::Enter)) while ($k.Key -notin ([ConsoleKey]::Escape, [ConsoleKey]::Enter))
} }
# Get the localized user folders names
$Signature = @{ $Signature = @{
Namespace = "WinAPI" Namespace = "WinAPI"
Name = "GetStr" Name = "GetStr"
@ -5766,18 +5809,20 @@ public static string GetString(uint strId)
Add-Type @Signature -Using System.Text 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) $DocumentsLocalizedString = [WinAPI.GetStr]::GetString(21770)
$DownloadsLocalizedString = [WinAPI.GetStr]::GetString(21798) $DownloadsLocalizedString = [WinAPI.GetStr]::GetString(21798)
$MusicLocalizedString = [WinAPI.GetStr]::GetString(21790) $MusicLocalizedString = [WinAPI.GetStr]::GetString(21790)
$PicturesLocalizedString = [WinAPI.GetStr]::GetString(21779) $PicturesLocalizedString = [WinAPI.GetStr]::GetString(21779)
$VideosLocalizedString = [WinAPI.GetStr]::GetString(21791) $VideosLocalizedString = [WinAPI.GetStr]::GetString(21791)
switch ($PSCmdlet.ParameterSetName) switch ($PSCmdlet.ParameterSetName)
{ {
"Root" "Root"
{ {
Write-Verbose -Message $Localization.RetrievingDrivesList -Verbose Write-Verbose -Message $Localization.RetrievingDrivesList -Verbose
Write-Information -MessageData "" -InformationAction Continue
# Store all drives letters to use them within ShowMenu function # 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) $DriveLetters = @((Get-Disk | Where-Object -FilterScript {$_.BusType -ne "USB"} | Get-Partition | Get-Volume | Where-Object -FilterScript {$null -ne $_.DriveLetter}).DriveLetter | Sort-Object)
@ -5794,8 +5839,16 @@ public static string GetString(uint strId)
# Desktop # Desktop
Write-Verbose -Message ($Localization.DriveSelect -f $DesktopLocalizedString) -Verbose 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderRequest -f $DesktopLocalizedString $Message = $Localization.UserFolderRequest -f $DesktopLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -5814,13 +5867,22 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Documents # Documents
Write-Verbose -Message ($Localization.DriveSelect -f $DocumentsLocalizedString) -Verbose 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderRequest -f $DocumentsLocalizedString $Message = $Localization.UserFolderRequest -f $DocumentsLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -5839,13 +5901,22 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Downloads # Downloads
Write-Verbose -Message ($Localization.DriveSelect -f $DownloadsLocalizedString) -Verbose 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderRequest -f $DownloadsLocalizedString $Message = $Localization.UserFolderRequest -f $DownloadsLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -5864,13 +5935,22 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Music # Music
Write-Verbose -Message ($Localization.DriveSelect -f $MusicLocalizedString) -Verbose 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderRequest -f $MusicLocalizedString $Message = $Localization.UserFolderRequest -f $MusicLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -5889,13 +5969,21 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Pictures # Pictures
Write-Verbose -Message ($Localization.DriveSelect -f $PicturesLocalizedString) -Verbose 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderRequest -f $PicturesLocalizedString $Message = $Localization.UserFolderRequest -f $PicturesLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -5914,13 +6002,22 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Videos # Videos
Write-Verbose -Message ($Localization.DriveSelect -f $VideosLocalizedString) -Verbose 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderRequest -f $VideosLocalizedString $Message = $Localization.UserFolderRequest -f $VideosLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -5939,14 +6036,22 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
} }
"Custom" "Custom"
{ {
# Desktop # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderSelect -f $DesktopLocalizedString $Message = $Localization.UserFolderSelect -f $DesktopLocalizedString
$Browse = $Localization.Browse $Browse = $Localization.Browse
@ -5977,12 +6082,20 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Documents # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderSelect -f $DocumentsLocalizedString $Message = $Localization.UserFolderSelect -f $DocumentsLocalizedString
$Browse = $Localization.Browse $Browse = $Localization.Browse
@ -6013,12 +6126,20 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Downloads # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderSelect -f $DownloadsLocalizedString $Message = $Localization.UserFolderSelect -f $DownloadsLocalizedString
$Browse = $Localization.Browse $Browse = $Localization.Browse
@ -6049,12 +6170,20 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Music # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderSelect -f $MusicLocalizedString $Message = $Localization.UserFolderSelect -f $MusicLocalizedString
$Browse = $Localization.Browse $Browse = $Localization.Browse
@ -6085,12 +6214,20 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Pictures # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderSelect -f $PicturesLocalizedString $Message = $Localization.UserFolderSelect -f $PicturesLocalizedString
$Browse = $Localization.Browse $Browse = $Localization.Browse
@ -6121,12 +6258,20 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Videos # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserFolderSelect -f $VideosLocalizedString $Message = $Localization.UserFolderSelect -f $VideosLocalizedString
$Browse = $Localization.Browse $Browse = $Localization.Browse
@ -6157,14 +6302,22 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
} }
"Default" "Default"
{ {
# Desktop # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserDefaultFolder -f $DesktopLocalizedString $Message = $Localization.UserDefaultFolder -f $DesktopLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -6182,12 +6335,20 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Documents # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserDefaultFolder -f $DocumentsLocalizedString $Message = $Localization.UserDefaultFolder -f $DocumentsLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -6205,12 +6366,20 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Downloads # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserDefaultFolder -f $DownloadsLocalizedString $Message = $Localization.UserDefaultFolder -f $DownloadsLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -6228,12 +6397,20 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Music # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserDefaultFolder -f $MusicLocalizedString $Message = $Localization.UserDefaultFolder -f $MusicLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -6251,12 +6428,20 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Pictures # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserDefaultFolder -f $PicturesLocalizedString $Message = $Localization.UserDefaultFolder -f $PicturesLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -6274,12 +6459,20 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
# Videos # 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-Warning -Message $Localization.FilesWontBeMoved
Write-Information -MessageData "" -InformationAction Continue
$Title = "" $Title = ""
$Message = $Localization.UserDefaultFolder -f $VideosLocalizedString $Message = $Localization.UserDefaultFolder -f $VideosLocalizedString
$Change = $Localization.Change $Change = $Localization.Change
@ -6297,6 +6490,7 @@ public static string GetString(uint strId)
"1" "1"
{ {
Write-Verbose -Message $Localization.Skipped -Verbose Write-Verbose -Message $Localization.Skipped -Verbose
Write-Information -MessageData "" -InformationAction Continue
} }
} }
} }
@ -8313,7 +8507,12 @@ function UninstallUWPApps
Write-Verbose -Message $Localization.Patient -Verbose Write-Verbose -Message $Localization.Patient -Verbose
$AppxPackages = Get-AppxPackage -PackageTypeFilter Bundle -AllUsers:$AllUsers | Where-Object -FilterScript {$_.Name -notin $ExcludedAppxPackages} $AppxPackages = @(Get-AppxPackage -PackageTypeFilter Bundle -AllUsers:$AllUsers | Where-Object -FilterScript {$_.Name -notin $ExcludedAppxPackages})
# The Bundle packages contains no Microsoft Teams
if (Get-AppxPackage -Name MicrosoftTeams -AllUsers:$AllUsers)
{
$AppxPackages += Get-AppxPackage -Name MicrosoftTeams -AllUsers:$AllUsers
}
$PackagesIds = [Windows.Management.Deployment.PackageManager, Windows.Web, ContentType = WindowsRuntime]::new().FindPackages() | Select-Object -Property DisplayName -ExpandProperty Id | Select-Object -Property Name, DisplayName $PackagesIds = [Windows.Management.Deployment.PackageManager, Windows.Web, ContentType = WindowsRuntime]::new().FindPackages() | Select-Object -Property DisplayName -ExpandProperty Id | Select-Object -Property Name, DisplayName
foreach ($AppxPackage in $AppxPackages) foreach ($AppxPackage in $AppxPackages)
@ -8326,9 +8525,9 @@ function UninstallUWPApps
} }
[PSCustomObject]@{ [PSCustomObject]@{
Name = $AppxPackage.Name Name = $AppxPackage.Name
PackageFullName = $AppxPackage.PackageFullName PackageFullName = $AppxPackage.PackageFullName
DisplayName = $PackageId.DisplayName DisplayName = $PackageId.DisplayName
} }
} }
} }
@ -8942,6 +9141,7 @@ function HEIF
if ($Package -like "Microsoft.HEVCVideoExtension_*_x64__8wekyb3d8bbwe.appx") if ($Package -like "Microsoft.HEVCVideoExtension_*_x64__8wekyb3d8bbwe.appx")
{ {
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.HEVCDownloading -Verbose Write-Verbose -Message $Localization.HEVCDownloading -Verbose
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
@ -9139,6 +9339,7 @@ function TeamsAutostart
# Check for UWP apps updates # Check for UWP apps updates
function CheckUWPAppsUpdates function CheckUWPAppsUpdates
{ {
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose Write-Verbose -Message $Localization.Patient -Verbose
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
} }
@ -9280,8 +9481,7 @@ function SetAppGraphicsPerformance
GPUScheduling -Disable GPUScheduling -Disable
.NOTES .NOTES
Only with a dedicated GPU and WDDM verion is 2.7 or higher Only with a dedicated GPU and WDDM verion is 2.7 or higher. Restart needed
Restart needed
.NOTES .NOTES
Current user Current user
@ -9350,7 +9550,6 @@ function GPUScheduling
.NOTES .NOTES
A native interactive toast notification pops up every 30 days A native interactive toast notification pops up every 30 days
The task runs every 30 days
.NOTES .NOTES
Current user Current user
@ -9611,8 +9810,7 @@ while (`$true)
SoftwareDistributionTask -Delete SoftwareDistributionTask -Delete
.NOTES .NOTES
The task will wait until the Windows Updates service finishes running The task will wait until the Windows Updates service finishes running. The task runs every 90 days
The task runs every 90 days
.NOTES .NOTES
Current user Current user
@ -9717,7 +9915,7 @@ Get-ChildItem -Path `$env:SystemRoot\SoftwareDistribution\Download -Recurse -For
TempTask -Delete TempTask -Delete
.NOTES .NOTES
The task runs every 60 days Only files older than one day will be deleted. The task runs every 60 days
.NOTES .NOTES
Current user Current user
@ -10098,7 +10296,7 @@ function CommandLineProcessAudit
The "Process Creation" Event Viewer custom view The "Process Creation" Event Viewer custom view
.PARAMETER Enable .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 .PARAMETER Disable
Remove the "Process Creation" Event Viewer custom view Remove the "Process Creation" Event Viewer custom view
@ -10110,7 +10308,7 @@ function CommandLineProcessAudit
EventViewerCustomView -Disable EventViewerCustomView -Disable
.NOTES .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 .NOTES
Machine-wide Machine-wide
@ -10560,13 +10758,13 @@ function WindowsSandbox
Disable DNS-over-HTTPS for IPv4 Disable DNS-over-HTTPS for IPv4
.EXAMPLE .EXAMPLE
DNSoverHTTPS -Enable DNSoverHTTPS -Enable -PrimaryDNS 1.0.0.1 -SecondaryDNS 1.1.1.1
.EXAMPLE .EXAMPLE
DNSoverHTTPS -Disable DNSoverHTTPS -Disable
.NOTES .NOTES
The preferred DNS server will be set to 1.0.0.1, and the alternate one to 1.1.1.1 The valid IPv4 addresses: 1.0.0.1, 1.1.1.1, 149.112.112.112, 8.8.4.4, 8.8.8.8, 9.9.9.9
.NOTES .NOTES
Machine-wide Machine-wide
@ -10583,6 +10781,20 @@ function DNSoverHTTPS
[switch] [switch]
$Enable, $Enable,
[Parameter(Mandatory = $true)]
[ValidateSet("1.0.0.1", "1.1.1.1", "149.112.112.112", "8.8.4.4", "8.8.8.8", "9.9.9.9")]
# Carve up the IPv4 addresses only
[ValidateScript({(@((Get-ChildItem -Path HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters\DohWellKnownServers).PSChildName) | Where-Object {$_ -notmatch ":"}) -contains $_})]
[string]
$PrimaryDNS,
[Parameter(Mandatory = $true)]
[ValidateSet("1.0.0.1", "1.1.1.1", "149.112.112.112", "8.8.4.4", "8.8.8.8", "9.9.9.9")]
# Carve up the IPv4 addresses only
[ValidateScript({(@((Get-ChildItem -Path HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters\DohWellKnownServers).PSChildName) | Where-Object {$_ -notmatch ":"}) -contains $_})]
[string]
$SecondaryDNS,
[Parameter( [Parameter(
Mandatory = $true, Mandatory = $true,
ParameterSetName = "Disable" ParameterSetName = "Disable"
@ -10597,15 +10809,8 @@ function DNSoverHTTPS
{ {
if ((Get-CimInstance -ClassName CIM_ComputerSystem).PartOfDomain -eq $false) if ((Get-CimInstance -ClassName CIM_ComputerSystem).PartOfDomain -eq $false)
{ {
# Get valid DNS over HTTPS servers from registry
$DohWellKnownServer = @((Get-ChildItem -Path HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters\DohWellKnownServers).PSChildName)
# 1.0.0.1
$PrimaryDNS = $DohWellKnownServer | Select-Object -Index 0
# 1.1.1.1
$SecondaryDNS = $DohWellKnownServer | Select-Object -Index 1
# Set the DNS servers # Set the DNS servers
Get-NetAdapter -Physical | Get-NetIPConfiguration | Set-DnsClientServerAddress -ServerAddresses $PrimaryDNS, $SecondaryDNS Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Get-NetIPConfiguration | Set-DnsClientServerAddress -ServerAddresses $PrimaryDNS, $SecondaryDNS
$InterfaceGuid = (Get-NetAdapter -Physical).InterfaceGuid $InterfaceGuid = (Get-NetAdapter -Physical).InterfaceGuid
if (-not (Test-Path -Path "HKLM:\SYSTEM\ControlSet001\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\$PrimaryDNS")) if (-not (Test-Path -Path "HKLM:\SYSTEM\ControlSet001\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\$PrimaryDNS"))
@ -11543,6 +11748,7 @@ public static void PostMessage()
Set-MpPreference -EnableControlledFolderAccess Enabled Set-MpPreference -EnableControlledFolderAccess Enabled
} }
Write-Information -MessageData "" -InformationAction Continue
Write-Warning -Message $Localization.RestartWarning Write-Warning -Message $Localization.RestartWarning
[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
@ -11609,10 +11815,16 @@ function Errors
{ {
if ($Global:Error) 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 { ($Global:Error | ForEach-Object -Process {
[PSCustomObject]@{ [PSCustomObject]@{
$Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber
$Localization.ErrorsFile = Split-Path -Path $PSCommandPath -Leaf $Localization.ErrorsFile = $ErrorInFile
$Localization.ErrorsMessage = $_.Exception.Message $Localization.ErrorsMessage = $_.Exception.Message
} }
} | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim()

134
Sophia/Windows 11/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS .SYNOPSIS
Default preset file for "Sophia Script for Windows 11" Default preset file for "Sophia Script for Windows 11"
Version: v6.0.2 Version: v6.0.3
Date: 06.08.2021 Date: 25.08.2021
Copyright (c) 20142021 farag Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic Copyright (c) 20192021 farag & Inestic
@ -23,7 +23,7 @@
.NOTES .NOTES
Supported Windows 11 version Supported Windows 11 version
Version: Sun Valley Version: 21H2
Build: 22000 Build: 22000
Editions: Home/Pro/Enterprise Editions: Home/Pro/Enterprise
@ -70,7 +70,7 @@ param
Clear-Host Clear-Host
$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" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.3 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014–2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force
@ -193,11 +193,19 @@ AdvertisingID -Disable
# Разрешить приложениям показывать персонализированную рекламу с помощью моего идентификатора рекламы (значение по умолчанию) # Разрешить приложениям показывать персонализированную рекламу с помощью моего идентификатора рекламы (значение по умолчанию)
# AdvertisingID -Enable # AdvertisingID -Enable
# Get tip, trick, and suggestions when I use Windows (default value) # Hide the Windows welcome experiences after updates and occasionally when I sign in to highlight what's new and suggested
# Скрывать экран приветствия Windows после обновлений и иногда при входе, чтобы сообщить о новых функциях и предложениях
WindowsWelcomeExperience -Hide
# Show the Windows welcome experiences after updates and occasionally when I sign in to highlight what's new and suggested (default value)
# Показывать экран приветствия Windows после обновлений и иногда при входе, чтобы сообщить о новых функциях и предложениях (значение по умолчанию)
# WindowsWelcomeExperience -Show
# Get tips and suggestions when I use Windows (default value)
# Получать советы и предложения при использованию Windows (значение по умолчанию) # Получать советы и предложения при использованию Windows (значение по умолчанию)
WindowsTips -Enable WindowsTips -Enable
# Do not get tip, trick, and suggestions when I use Windows # Do not get tips and suggestions when I use Windows
# Не получать советы и предложения при использованию Windows # Не получать советы и предложения при использованию Windows
# WindowsTips -Disable # WindowsTips -Disable
@ -221,8 +229,8 @@ AppsSilentInstalling -Disable
# Не показывать предложения по настройке устройства # Не показывать предложения по настройке устройства
WhatsNewInWindows -Disable WhatsNewInWindows -Disable
# Offer suggestions on how I can set up my device (default value) # Let Microsoft offer you tailored expereinces based on the diagnostic data setting you hava chosen (default value)
# Показывать предложения по настройке устройства (значение по умолчанию) # Разрешите корпорации Майкософт использовать ваши диагностические данные для улучшения вашей работы со службами Майкрософт с помощью персонализированных советов, рекламы и рекомендаций (значение по умолчанию)
# WhatsNewInWindows -Enable # WhatsNewInWindows -Enable
# Don't let Microsoft use your diagnostic data for personalized tips, ads, and recommendations # Don't let Microsoft use your diagnostic data for personalized tips, ads, and recommendations
@ -230,7 +238,7 @@ WhatsNewInWindows -Disable
TailoredExperiences -Disable TailoredExperiences -Disable
# Let Microsoft use your diagnostic data for personalized tips, ads, and recommendations (default value) # Let Microsoft use your diagnostic data for personalized tips, ads, and recommendations (default value)
# Разрешить корпорации Майкрософт использовать диагностические данные для персонализированных советов, рекламы и рекомендаций # Разрешить корпорации Майкрософт использовать диагностические данные для персонализированных советов, рекламы и рекомендаций (значение по умолчанию)
# TailoredExperiences -Enable # TailoredExperiences -Enable
# Disable Bing search in the Start Menu (for the USA only) # Disable Bing search in the Start Menu (for the USA only)
@ -320,14 +328,6 @@ OneDriveFileExplorerAd -Hide
# Показывать уведомления поставщика синхронизации в проводнике (значение по умолчанию) # Показывать уведомления поставщика синхронизации в проводнике (значение по умолчанию)
# OneDriveFileExplorerAd -Show # OneDriveFileExplorerAd -Show
# Show snap layouts when I hover over a windows's maximaze button (default value)
# Показывать макеты прикрепления, частью которых является приложение, при наведении указателя мыши на кнопки панели задач (значение по умолчанию)
SnapAssistFlyout -Disable
# Hide snap layouts when I hover over a windows's maximaze button
# Не показывать макеты прикрепления, частью которых является приложение, при наведении указателя мыши на кнопки панели задач
# SnapAssistFlyout -Enable
# When I snap a window, do not show what I can snap next to it # When I snap a window, do not show what I can snap next to it
# При прикреплении окна не показывать, что можно прикрепить рядом с ним # При прикреплении окна не показывать, что можно прикрепить рядом с ним
SnapAssist -Disable SnapAssist -Disable
@ -336,6 +336,14 @@ SnapAssist -Disable
# При прикреплении окна показывать, что можно прикрепить рядом с ним (значение по умолчанию) # При прикреплении окна показывать, что можно прикрепить рядом с ним (значение по умолчанию)
# SnapAssist -Enable # SnapAssist -Enable
# Show snap layouts when I hover over a windows's maximaze button (default value)
# Показывать макеты прикрепления, частью которых является приложение, при наведении указателя мыши на кнопки панели задач (значение по умолчанию)
SnapAssistFlyout -Disable
# Hide snap layouts when I hover over a windows's maximaze button
# Не показывать макеты прикрепления, частью которых является приложение, при наведении указателя мыши на кнопки панели задач
# SnapAssistFlyout -Enable
# Show the file transfer dialog box in the detailed mode # Show the file transfer dialog box in the detailed mode
# Отображать диалоговое окно передачи файлов в развернутом виде # Отображать диалоговое окно передачи файлов в развернутом виде
FileTransferDialog -Detailed FileTransferDialog -Detailed
@ -488,12 +496,12 @@ TaskManagerWindow -Expanded
# Запускать Диспетчера задач в свернутом виде (значение по умолчанию) # Запускать Диспетчера задач в свернутом виде (значение по умолчанию)
# TaskManagerWindow -Compact # TaskManagerWindow -Compact
# Show a notification when your PC requires a restart to finish updating # Notify me when a restart is required to finish updating
# Показывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления # Уведомлять меня о необходимости перезагрузки для завершения обновления
RestartNotification -Show RestartNotification -Show
# Do not show a notification when your PC requires a restart to finish updating (default value) # Do not notify me when a restart is required to finish updating (default value)
# Не показывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления (значение по умолчанию) # Не yведомлять меня о необходимости перезагрузки для завершения обновления (значение по умолчанию)
# RestartNotification -Hide # RestartNotification -Hide
# Do not add the "- Shortcut" suffix to the file name of created shortcuts # Do not add the "- Shortcut" suffix to the file name of created shortcuts
@ -640,10 +648,10 @@ WindowsManageDefaultPrinter -Disable
<# <#
Disable the Windows features using the pop-up dialog box 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 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 WindowsFeatures -Disable
@ -851,11 +859,11 @@ ThumbnailCacheRemoval -Disable
# ThumbnailCacheRemoval -Enable # ThumbnailCacheRemoval -Enable
# Automatically saving my restartable apps and restart them when I sign back in # Automatically saving my restartable apps and restart them when I sign back in
# Автоматически сохранять моих перезапускаемые приложения при выходе из системы и перезапускать их при повторном входе # Автоматически сохранять мои перезапускаемые приложения из системы и перезапускать их при повторном входе
SaveRestartableApps -Enable SaveRestartableApps -Enable
# Turn off automatically saving my restartable apps and restart them when I sign back in (default value) # Turn off automatically saving my restartable apps and restart them when I sign back in (default value)
# Выключить автоматическое сохранение моих перезапускаемых приложений при выходе из системы и перезапускать их при повторном входе (значение по умолчанию) # Выключить автоматическое сохранение моих перезапускаемых приложений из системы и перезапускать их при повторном входе (значение по умолчанию)
# SaveRestartableApps -Disable # SaveRestartableApps -Disable
# Enable "Network Discovery" and "File and Printers Sharing" for workgroup networks # Enable "Network Discovery" and "File and Printers Sharing" for workgroup networks
@ -901,8 +909,13 @@ DefaultTerminalApp -WindowsTerminal
#endregion System #endregion System
#region WSL #region WSL
# Enable Windows Subsystem for Linux (WSL), install the latest WSL Linux kernel version, and a Linux distribution using a pop-up form <#
# Установить подсистему Windows для Linux (WSL), последний пакет обновления ядра Linux и дистрибутив Linux, используя всплывающую форму Enable Windows Subsystem for Linux (WSL), install the latest WSL Linux kernel version, and a Linux distribution using a pop-up form
To receive kernel updates, enable the Windows Update setting: "Receive updates for other Microsoft products"
Установить подсистему Windows для Linux (WSL), последний пакет обновления ядра Linux и дистрибутив Linux, используя всплывающую форму
Чтобы получать обновления ядра, включите параметр "При обновлении Windows поулчать обновления для других продуктов Майкрософт" в Центре обновлении Windows
#>
# WSL -Enable # WSL -Enable
#endregion WSL #endregion WSL
@ -988,18 +1001,13 @@ XboxGameTips -Disable
# Включить советы Xbox Game Bar (значение по умолчанию) # Включить советы Xbox Game Bar (значение по умолчанию)
# XboxGameTips -Enable # XboxGameTips -Enable
<# # Choose an app and set the "High performance" graphics performance for it. Only if you have a dedicated GPU
Choose an app and set the "High performance" graphics performance for it # Выбрать приложение и установить для него параметры производительности графики на "Высокая производительность". Только при наличии внешней видеокарты
Only with a dedicated GPU
Выбрать приложение и установить параметры производительности графики на "Высокая производительность" для него
Только при наличии внешней видеокарты
#>
SetAppGraphicsPerformance SetAppGraphicsPerformance
<# <#
Turn on hardware-accelerated GPU scheduling. Restart needed 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 и выше Только при наличии внешней видеокарты и WDDM версии 2.7 и выше
@ -1014,12 +1022,10 @@ GPUScheduling -Enable
#region Scheduled tasks #region Scheduled tasks
<# <#
Create the "Windows Cleanup" scheduled task for cleaning up Windows unused files and updates Create the "Windows Cleanup" scheduled task for cleaning up Windows unused files and updates
A native interactive toast notification pops up every 30 days A native interactive toast notification pops up every 30 days. The task runs every 30 days
The task runs every 30 days
Создать задачу "Windows Cleanup" по очистке неиспользуемых файлов и обновлений Windows в Планировщике заданий Создать задачу "Windows Cleanup" по очистке неиспользуемых файлов и обновлений Windows в Планировщике заданий
Нативный интерактивный тост всплывает каждые 30 дней Нативный интерактивный тост всплывает каждые 30 дней. Задача выполняется каждые 30 дней
Задача выполняется каждые 30 дней
#> #>
CleanupTask -Register CleanupTask -Register
@ -1029,12 +1035,10 @@ CleanupTask -Register
<# <#
Create the "SoftwareDistribution" scheduled task for cleaning up the %SystemRoot%\SoftwareDistribution\Download folder 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 will wait until the Windows Updates service finishes running. The task runs every 90 days
The task runs every 90 days
Создать задачу "SoftwareDistribution" по очистке папки %SystemRoot%\SoftwareDistribution\Download в Планировщике заданий Создать задачу "SoftwareDistribution" по очистке папки %SystemRoot%\SoftwareDistribution\Download в Планировщике заданий
Задача будет ждать, пока служба обновлений Windows не закончит работу Задача будет ждать, пока служба обновлений Windows не закончит работу. Задача выполняется каждые 90 дней
Задача выполняется каждые 90 дней
#> #>
SoftwareDistributionTask -Register SoftwareDistributionTask -Register
@ -1044,10 +1048,10 @@ SoftwareDistributionTask -Register
<# <#
Create the "Temp" scheduled task for cleaning up the %TEMP% folder 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% Создать задачу "Temp" в Планировщике заданий по очистке папки %TEMP%
Задача выполняется каждые 60 дней Удаляться будут только файлы старше одного дня. Задача выполняется каждые 60 дней
#> #>
TempTask -Register TempTask -Register
@ -1116,16 +1120,16 @@ CommandLineProcessAudit -Enable
# CommandLineProcessAudit -Disable # CommandLineProcessAudit -Disable
<# <#
Create "Process Creation" Event Viewer сustom view 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 in process creation events will be enabled 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 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 # EventViewerCustomView -Disable
# Enable logging for all Windows PowerShell modules # Enable logging for all Windows PowerShell modules
@ -1183,12 +1187,12 @@ SaveZoneInformation -Disable
<# <#
Enable DNS-over-HTTPS for IPv4 Enable DNS-over-HTTPS for IPv4
The preferred DNS server: 1.0.0.1, the alternate: 1.1.1.1 The valid IPv4 addresses: 1.0.0.1, 1.1.1.1, 149.112.112.112, 8.8.4.4, 8.8.8.8, 9.9.9.9
Включить DNS-over-HTTPS для IPv4 Включить DNS-over-HTTPS для IPv4
Предпочитаемый DNS-сервер: 1.0.0.1, альтернативный: 1.1.1.1 Действительные IPv4-адреса: 1.0.0.1, 1.1.1.1, 149.112.112.112, 8.8.4.4, 8.8.8.8, 9.9.9.9
#> #>
DNSoverHTTPS -Enable DNSoverHTTPS -Enable -PrimaryDNS 1.0.0.1 -SecondaryDNS 1.1.1.1
# Disable DNS-over-HTTPS for IPv4 (default value) # Disable DNS-over-HTTPS for IPv4 (default value)
# Выключить DNS-over-HTTPS для IPv4 (значение по умолчанию) # Выключить DNS-over-HTTPS для IPv4 (значение по умолчанию)
@ -1228,17 +1232,17 @@ CastToDeviceContext -Hide
# Отобразить пункт "Передать на устройство" в контекстном меню медиа-файлов и папок (значение по умолчанию) # Отобразить пункт "Передать на устройство" в контекстном меню медиа-файлов и папок (значение по умолчанию)
# CastToDeviceContext -Show # CastToDeviceContext -Show
# Hide the "Share" item from the context menu
# Скрыть пункт "Отправить" (поделиться) из контекстного меню
ShareContext -Hide
<# <#
Hide the "Share" item from the context menu Show the "Share" item in the context menu (default value)
Showing the "Share" item in the context menu will disable the Windows 10 File Explorer Showing the "Share" item in the context menu will disable the Windows 10 File Explorer
Скрыть пункт "Отправить" (поделиться) из контекстного меню Отобразить пункт "Отправить" (поделиться) в контекстном меню (значение по умолчанию)
Отображение элемента «Поделиться» в контекстном меню приведет к отключению проводника Windows 10 Отображение элемента "Поделиться" в контекстном меню приведет к отключению проводника из Windows 10
#> #>
ShareContext -Hide
# Show the "Share" item in the context menu (default value)
# Отобразить пункт "Отправить" (поделиться) в контекстном меню (значение по умолчанию)
# ShareContext -Show # ShareContext -Show
# Hide the "Edit with Photos" item from the media files context menu # Hide the "Edit with Photos" item from the media files context menu
@ -1289,14 +1293,6 @@ BitLockerContext -Hide
# Отобразить пункт "Включить BitLocker" в контекстном меню дисков (значение по умолчанию) # Отобразить пункт "Включить BitLocker" в контекстном меню дисков (значение по умолчанию)
# BitLockerContext -Show # BitLockerContext -Show
# Hide the "Bitmap image" item from the "New" context menu
# Скрыть пункт "Точечный рисунок" из контекстного меню "Создать"
BitmapImageNewContext -Hide
# Show the "Bitmap image" item to the "New" context menu (default value)
# Отобразить пункт "Точечный рисунок" в контекстного меню "Создать" (значение по умолчанию)
# BitmapImageNewContext -Show
# Hide the "Compressed (zipped) Folder" item from the "New" context menu # Hide the "Compressed (zipped) Folder" item from the "New" context menu
# Скрыть пункт "Сжатая ZIP-папка" из контекстного меню "Создать" # Скрыть пункт "Сжатая ZIP-папка" из контекстного меню "Создать"
CompressedFolderNewContext -Hide CompressedFolderNewContext -Hide

Loading…
Cancel
Save