Browse Source

22.04.2021 v5.10.2

pull/174/head
Dmitry Nefedov 3 years ago
committed by GitHub
parent
commit
bb8b892a2b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 47
      Sophia/PowerShell 7/Functions.ps1
  2. 28
      Sophia/PowerShell 7/Sophia.ps1
  3. 2
      Sophia/PowerShell 7/Sophia.psd1
  4. 99
      Sophia/PowerShell 7/Sophia.psm1
  5. 2
      Sophia/PowerShell 7/cn-CN/Sophia.psd1
  6. 2
      Sophia/PowerShell 7/de-DE/Sophia.psd1
  7. 2
      Sophia/PowerShell 7/en-US/Sophia.psd1
  8. 2
      Sophia/PowerShell 7/es-ES/Sophia.psd1
  9. 2
      Sophia/PowerShell 7/fr-FR/Sophia.psd1
  10. 4
      Sophia/PowerShell 7/it-IT/Sophia.psd1
  11. 2
      Sophia/PowerShell 7/pt-BR/Sophia.psd1
  12. 4
      Sophia/PowerShell 7/ru-RU/Sophia.psd1
  13. 2
      Sophia/PowerShell 7/tr-TR/Sophia.psd1
  14. 2
      Sophia/PowerShell 7/uk-UA/Sophia.psd1

47
Sophia/PowerShell 7/Functions.ps1

@ -1,9 +1,9 @@
<# <#
.SYNOPSIS .SYNOPSIS
Run the specific function, using the TAB completion The TAB completion for functions and their arguments
Version: v5.10.1 Version: v5.10.2
Date: 14.04.2021 Date: 22.04.2021
Copyright (c) 20142021 farag Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & oZ-Zo Copyright (c) 20192021 farag & oZ-Zo
@ -11,14 +11,10 @@
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
.DESCRIPTION .DESCRIPTION
To be able to call the specific function(s) enter ". .\Function.ps1" first (with a dot at the beginning) Dot source the script first: . .\Function.ps1 (with a dot at the beginning)
Running this script will add the TAB completion for functions and their arguments by typing its' first letters Start typing any characters contained in the function's name or its arguments, and press the TAB button
Чтобы иметь возможность вызывать конкретную функцию, введите сначала ". .\Functions.ps1" (с точкой в начале) .EXAMPLE
Запуск этого скрипта добавит, используя табуляцию, автопродление имен функций и их аргументов по введенным первым буквам
.EXAMPLE Run the specific function(s)
. .\Functions.ps1
Sophia -Functions <tab> Sophia -Functions <tab>
Sophia -Functions temp<tab> Sophia -Functions temp<tab>
Sophia -Functions "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal", UninstallUWPApps Sophia -Functions "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal", UninstallUWPApps
@ -57,10 +53,7 @@ function Sophia
$Functions $Functions
) )
<# # Regardless of the functions entered as an argument, the "Checkings" function will be executed first, and the "Refresh" and "Errors" functions will be executed at the end
Regardless of the functions entered as an argument, the "Checkings" function will be executed first,
and the "Refresh" and "Errors" functions will be executed at the end
#>
Invoke-Command -ScriptBlock {Checkings} Invoke-Command -ScriptBlock {Checkings}
foreach ($Function in $Functions) foreach ($Function in $Functions)
@ -73,7 +66,7 @@ function Sophia
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script v5.10.1 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2014–2021" $Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script v5.10.2 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2014–2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force
@ -99,25 +92,23 @@ $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 module command is PinToStart # If a module command is PinToStart
if ($Command -eq "PinToStart") if ($Command -eq "PinToStart")
{ {
# Get all command arguments, excluding defaults # Get all command arguments, excluding defaults
foreach ($ParameterSet in $ParameterSets.Name) foreach ($ParameterSet in $ParameterSets.Name)
{ {
# If Argument is PinToStart # If an argument is Tiles
if ($ParameterSet -eq "Tiles") if ($ParameterSet -eq "Tiles")
{ {
$ValidValues = ((Get-Command -Name PinToStart).Parametersets.Parameters | Where-Object -FilterScript {$null -eq $_.Attributes.AliasNames}).Attributes.ValidValues $ValidValues = ((Get-Command -Name PinToStart).Parametersets.Parameters | Where-Object -FilterScript {$null -eq $_.Attributes.AliasNames}).Attributes.ValidValues
foreach ($ValidValue in $ValidValues) foreach ($ValidValue in $ValidValues)
{ {
# "PinToStart -Tites ControlPanel" construction # The "PinToStart -Tiles <function>" construction
# "PinToStart -Tites DevicesPrinters" construction
# "PinToStart -Tites PowerShell" construction
"PinToStart" + " " + "-" + $ParameterSet + " " + $ValidValue | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""} "PinToStart" + " " + "-" + $ParameterSet + " " + $ValidValue | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""}
} }
# "PinToStart -Tites ControlPanel, DevicesPrinters, PowerShell" construction # "PinToStart -Tiles <functions>" construction
"PinToStart" + " " + "-" + $ParameterSet + " " + ($ValidValues -join ", ") | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""} "PinToStart" + " " + "-" + $ParameterSet + " " + ($ValidValues -join ", ") | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""}
} }
@ -125,7 +116,7 @@ $Parameters = @{
} }
} }
# If module command is UninstallUWPApps # If a module command is UninstallUWPApps
if ($Command -eq "UninstallUWPApps") if ($Command -eq "UninstallUWPApps")
{ {
(Get-Command -Name $Command).Name | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} (Get-Command -Name $Command).Name | Where-Object -FilterScript {$_ -like "*$wordToComplete*"}
@ -133,10 +124,10 @@ $Parameters = @{
# Get all command arguments, excluding defaults # Get all command arguments, excluding defaults
foreach ($ParameterSet in $ParameterSets.Name) foreach ($ParameterSet in $ParameterSets.Name)
{ {
# If Argument is ForAllUsers # If an argument is ForAllUsers
if ($ParameterSet -eq "ForAllUsers") if ($ParameterSet -eq "ForAllUsers")
{ {
# "UninstallUWPApps -ForAllUsers" construction # The "UninstallUWPApps -ForAllUsers" construction
"UninstallUWPApps" + " " + "-" + $ParameterSet | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""} "UninstallUWPApps" + " " + "-" + $ParameterSet | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""}
} }
@ -146,12 +137,16 @@ $Parameters = @{
foreach ($ParameterSet in $ParameterSets.Name) foreach ($ParameterSet in $ParameterSets.Name)
{ {
# "Function -Argument" construction # The "Function -Argument" construction
$Command + " " + "-" + $ParameterSet | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""} $Command + " " + "-" + $ParameterSet | Where-Object -FilterScript {$_ -like "*$wordToComplete*"} | ForEach-Object -Process {"`"$_`""}
continue
} }
# Get functions list without arguments to complete # Get functions list without arguments to complete
Get-Command -Name $Command | Where-Object -FilterScript {$null -eq $_.Parametersets.Parameters} | Where-Object -FilterScript {$_.Name -like "*$wordToComplete*"} Get-Command -Name $Command | Where-Object -FilterScript {$null -eq $_.Parametersets.Parameters} | Where-Object -FilterScript {$_.Name -like "*$wordToComplete*"}
continue
} }
} }
} }

28
Sophia/PowerShell 7/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS .SYNOPSIS
Default preset file for "Windows 10 Sophia Script" Default preset file for "Windows 10 Sophia Script"
Version: v5.10.1 Version: v5.10.2
Date: 14.04.2021 Date: 22.04.2021
Copyright (c) 20142021 farag Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & oZ-Zo Copyright (c) 20192021 farag & oZ-Zo
@ -11,16 +11,10 @@
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
.DESCRIPTION .DESCRIPTION
Read carefully and configure the preset file before running Place the "#" char before function if you don't want it to be run
Comment out function with the "#" char if you don't want it to be run Remove the "#" char before function if you want it to be run
Uncomment function by removing the "#" char if you want it to be run
Every tweak in the preset file has its' corresponding function to restore the default settings Every tweak in the preset file has its' corresponding function to restore the default settings
Running the script is best done on a fresh install because running it on wrong tweaked system may result in errors occurring
To be able to call the specific function using autocompletion invoke the Functions.ps1:
. .\Functions.ps1 (with a dot at the beginning). Read more in the Functions.ps1 file
.EXAMPLE Run the whole script .EXAMPLE Run the whole script
.\Sophia.ps1 .\Sophia.ps1
@ -38,13 +32,21 @@
Set execution policy to be able to run scripts only in the current PowerShell session: Set execution policy to be able to run scripts only in the current PowerShell session:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
.NOTES
Running the script is best done on a fresh install because running it on wrong tweaked system may result in errors occurring
.NOTES
To use the TAB completion for functions and their arguments dot source the Function.ps1 script first:
. .\Function.ps1 (with a dot at the beginning)
Read more in the Functions.ps1 file
.NOTES .NOTES
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/post/521202/ https://habr.com/post/521202/
https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/ https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK .LINK Telegram channel & group
https://t.me/sophianews https://t.me/sophianews
https://t.me/sophia_chat https://t.me/sophia_chat
@ -69,7 +71,7 @@ param
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script v5.10.1 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2014–2021" $Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script v5.10.2 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2014–2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force
@ -451,7 +453,7 @@ ControlPanelView -LargeIcons
# ControlPanelView -SmallIcons # ControlPanelView -SmallIcons
# View the Control Panel icons by: category (default value) # View the Control Panel icons by: category (default value)
# Просмотр значки Панели управления как: категория (значение по умолчанию) # Просмотр иконок Панели управления как: категория (значение по умолчанию)
# ControlPanelView -Category # ControlPanelView -Category
# Set the Windows mode color scheme to the dark # Set the Windows mode color scheme to the dark

2
Sophia/PowerShell 7/Sophia.psd1

@ -1,6 +1,6 @@
@{ @{
RootModule = 'Sophia.psm1' RootModule = 'Sophia.psm1'
ModuleVersion = '5.10.1' ModuleVersion = '5.10.2'
GUID = 'aa0b47a7-1770-4b5d-8c9f-cc6c505bcc7a' GUID = 'aa0b47a7-1770-4b5d-8c9f-cc6c505bcc7a'
Author = 'Dmitry "farag" Nefedov' Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2015–2021 farag & oZ-Zo. All rights reserved.' Copyright = '(c) 2015–2021 farag & oZ-Zo. All rights reserved.'

99
Sophia/PowerShell 7/Sophia.psm1

@ -2,15 +2,15 @@
.SYNOPSIS .SYNOPSIS
"Windows 10 Sophia Script" is a PowerShell module for Windows 10 fine-tuning and automating the routine tasks "Windows 10 Sophia Script" is a PowerShell module for Windows 10 fine-tuning and automating the routine tasks
Version: v5.10.1 Version: v5.10.2
Date: 14.04.2021 Date: 22.04.2021
Copyright (c) 20142021 farag Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & oZ-Zo Copyright (c) 20192021 farag & oZ-Zo
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
.DESCRIPTION .NOTES
Running the script is best done on a fresh install because running it on wrong tweaked system may result in errors occurring Running the script is best done on a fresh install because running it on wrong tweaked system may result in errors occurring
.NOTES .NOTES
@ -3809,11 +3809,11 @@ Unregister-ScheduledTask -TaskName SymbolicLink -Confirm:`$false
$Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 $Settings = New-ScheduledTaskSettingsSet -Compatibility Win8
$Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest $Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest
$Parameters = @{ $Parameters = @{
"TaskName" = "SymbolicLink" TaskName = "SymbolicLink"
"Principal" = $Principal Principal = $Principal
"Action" = $Action Action = $Action
"Settings" = $Settings Settings = $Settings
"Trigger" = $Trigger Trigger = $Trigger
} }
Register-ScheduledTask @Parameters -Force Register-ScheduledTask @Parameters -Force
} }
@ -3927,11 +3927,11 @@ Unregister-ScheduledTask -TaskName TemporaryTask -Confirm:`$false
$Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 $Settings = New-ScheduledTaskSettingsSet -Compatibility Win8
$Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest $Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest
$Parameters = @{ $Parameters = @{
"TaskName" = "TemporaryTask" TaskName = "TemporaryTask"
"Principal" = $Principal Principal = $Principal
"Action" = $Action Action = $Action
"Settings" = $Settings Settings = $Settings
"Trigger" = $Trigger Trigger = $Trigger
} }
Register-ScheduledTask @Parameters -Force Register-ScheduledTask @Parameters -Force
} }
@ -7796,6 +7796,7 @@ function PinToStart
# Unpin all the Start tiles # Unpin all the Start tiles
if ($UnpinAll) if ($UnpinAll)
{ {
# Export the current Start layout
Export-StartLayout -Path $Script:StartLayout -UseDesktopApplicationID Export-StartLayout -Path $Script:StartLayout -UseDesktopApplicationID
[xml]$XML = Get-Content -Path $Script:StartLayout -Encoding UTF8 -Force [xml]$XML = Get-Content -Path $Script:StartLayout -Encoding UTF8 -Force
@ -8039,7 +8040,7 @@ public static string GetString(uint strId)
.NOTES .NOTES
Load The WinRT.Runtime.dll and Microsoft.Windows.SDK.NET.dll assemblies to the current session in order to get localized UWP apps names Load The WinRT.Runtime.dll and Microsoft.Windows.SDK.NET.dll assemblies to the current session in order to get localized UWP apps names
CsWinRT v1.2.2 CsWinRT v1.2.5
Microsoft.Windows.SDK.NET 10.0.19041.16 Microsoft.Windows.SDK.NET 10.0.19041.16
.LINK .LINK
@ -8448,11 +8449,11 @@ function UninstallUWPApps
RestoreUWPAppsUWPApps RestoreUWPAppsUWPApps
.NOTES .NOTES
UWP apps can be restored only if they were uninstalled only for the current user UWP apps can be restored only if they were uninstalled for the current user
.NOTES .NOTES
Load The WinRT.Runtime.dll and Microsoft.Windows.SDK.NET.dll assemblies to the current session in order to get localized UWP apps names Load The WinRT.Runtime.dll and Microsoft.Windows.SDK.NET.dll assemblies to the current session in order to get localized UWP apps names
CsWinRT v1.2.2 CsWinRT v1.2.5
Microsoft.Windows.SDK.NET 10.0.19041.16 Microsoft.Windows.SDK.NET 10.0.19041.16
.LINK .LINK
@ -9170,7 +9171,7 @@ function SetAppGraphicsPerformance
Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName System.Windows.Forms
$OpenFileDialog = New-Object -TypeName System.Windows.Forms.OpenFileDialog $OpenFileDialog = New-Object -TypeName System.Windows.Forms.OpenFileDialog
$OpenFileDialog.Filter = $Localization.EXEFilesFilter $OpenFileDialog.Filter = $Localization.EXEFilesFilter
$OpenFileDialog.InitialDirectory = "${env:ProgramFiles(x86)}" $OpenFileDialog.InitialDirectory = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
$OpenFileDialog.Multiselect = $false $OpenFileDialog.Multiselect = $false
# Focus on open file dialog # Focus on open file dialog
@ -9422,12 +9423,12 @@ while (`$true)
$Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 -StartWhenAvailable $Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 -StartWhenAvailable
$Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest $Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest
$Parameters = @{ $Parameters = @{
"TaskName" = "Windows Cleanup" TaskName = "Windows Cleanup"
"TaskPath" = "Sophia Script" TaskPath = "Sophia Script"
"Principal" = $Principal Principal = $Principal
"Action" = $Action Action = $Action
"Description" = $Localization.CleanupTaskDescription Description = $Localization.CleanupTaskDescription
"Settings" = $Settings Settings = $Settings
} }
Register-ScheduledTask @Parameters -Force Register-ScheduledTask @Parameters -Force
@ -9481,9 +9482,9 @@ while (`$true)
<selection id="""30""" content="""$($Localization.HalfHour)""" /> <selection id="""30""" content="""$($Localization.HalfHour)""" />
<selection id="""240""" content="""$($Localization.FourHours)""" /> <selection id="""240""" content="""$($Localization.FourHours)""" />
</input> </input>
<action activationType="""system""" arguments="""snooze""" hint-inputId="""SnoozeTimer""" content="""$($Localization.Snooze)""" id="""test-snooze"""/> <action activationType="""system""" arguments="""snooze""" hint-inputId="""SnoozeTimer""" content="" id="""test-snooze"""/>
<action arguments="""WindowsCleanup:""" content="""$($Localization.Run)""" activationType="""protocol"""/> <action arguments="""WindowsCleanup:""" content="""$($Localization.Run)""" activationType="""protocol"""/>
<action arguments="""dismiss""" content="""$($Localization.Dismiss)""" activationType="""system"""/> <action arguments="""dismiss""" content="""""" activationType="""system"""/>
</actions> </actions>
</toast> </toast>
"""@ """@
@ -9501,13 +9502,13 @@ while (`$true)
$Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest $Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest
$Trigger = New-ScheduledTaskTrigger -Daily -DaysInterval 30 -At 9pm $Trigger = New-ScheduledTaskTrigger -Daily -DaysInterval 30 -At 9pm
$Parameters = @{ $Parameters = @{
"TaskName" = "Windows Cleanup Notification" TaskName = "Windows Cleanup Notification"
"TaskPath" = "Sophia Script" TaskPath = "Sophia Script"
"Principal" = $Principal Principal = $Principal
"Action" = $Action Action = $Action
"Description" = $Localization.CleanupNotificationTaskDescription Description = $Localization.CleanupNotificationTaskDescription
"Settings" = $Settings Settings = $Settings
"Trigger" = $Trigger Trigger = $Trigger
} }
Register-ScheduledTask @Parameters -Force Register-ScheduledTask @Parameters -Force
} }
@ -9608,13 +9609,13 @@ Get-ChildItem -Path `$env:SystemRoot\SoftwareDistribution\Download -Recurse -For
$Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 -StartWhenAvailable $Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 -StartWhenAvailable
$Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest $Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest
$Parameters = @{ $Parameters = @{
"TaskName" = "SoftwareDistribution" TaskName = "SoftwareDistribution"
"TaskPath" = "Sophia Script" TaskPath = "Sophia Script"
"Principal" = $Principal Principa = $Principal
"Action" = $Action Action = $Action
"Description" = $Localization.FolderTaskDescription -f "%SystemRoot%\SoftwareDistribution\Download" Description = $Localization.FolderTaskDescription -f "%SystemRoot%\SoftwareDistribution\Download"
"Settings" = $Settings Settings = $Settings
"Trigger" = $Trigger Trigger = $Trigger
} }
Register-ScheduledTask @Parameters -Force Register-ScheduledTask @Parameters -Force
} }
@ -9703,13 +9704,13 @@ Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object {`$_.CreationTime
$Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 -StartWhenAvailable $Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 -StartWhenAvailable
$Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest $Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest
$Parameters = @{ $Parameters = @{
"TaskName" = "Temp" TaskName = "Temp"
"TaskPath" = "Sophia Script" TaskPath = "Sophia Script"
"Principal" = $Principal Principal = $Principal
"Action" = $Action Action = $Action
"Description" = $Localization.FolderTaskDescription -f "%TEMP%" Description = $Localization.FolderTaskDescription -f "%TEMP%"
"Settings" = $Settings Settings = $Settings
"Trigger" = $Trigger Trigger = $Trigger
} }
Register-ScheduledTask @Parameters -Force Register-ScheduledTask @Parameters -Force
} }
@ -11829,8 +11830,8 @@ public static void PostMessage()
.NOTES .NOTES
Load The WinRT.Runtime.dll and Microsoft.Windows.SDK.NET.dll assemblies to the current session in order to get localized UWP apps names Load The WinRT.Runtime.dll and Microsoft.Windows.SDK.NET.dll assemblies to the current session in order to get localized UWP apps names
CsWinRT v1.2.1 CsWinRT v1.2.5
Microsoft.Windows.SDK.NET 10.0.19041.15 Microsoft.Windows.SDK.NET 10.0.19041.16
.LINK .LINK
https://github.com/microsoft/CsWinRT https://github.com/microsoft/CsWinRT
@ -11854,7 +11855,7 @@ public static void PostMessage()
<audio src="ms-winsoundevent:notification.default" /> <audio src="ms-winsoundevent:notification.default" />
<actions> <actions>
<action arguments="https://t.me/sophia_chat" content="$($Localization.Open)" activationType="protocol"/> <action arguments="https://t.me/sophia_chat" content="$($Localization.Open)" activationType="protocol"/>
<action arguments="dismiss" content="$($Localization.Dismiss)" activationType="system"/> <action arguments="dismiss" content="" activationType="system"/>
</actions> </actions>
</toast> </toast>
"@ "@

2
Sophia/PowerShell 7/cn-CN/Sophia.psd1

@ -55,7 +55,6 @@ AllFilesFilter = 所有文件 (*.*)|*.*
Change = 更改 Change = 更改
DialogBoxOpening = 显示对话窗口 DialogBoxOpening = 显示对话窗口
Disable = 禁用 Disable = 禁用
Dismiss = 解雇
Enable = 启用 Enable = 启用
EXEFilesFilter = *.exe|*.exe|所有文件 (*.*)|*.* EXEFilesFilter = *.exe|*.exe|所有文件 (*.*)|*.*
FolderSelect = 选择一个文件夹 FolderSelect = 选择一个文件夹
@ -75,7 +74,6 @@ Select = 选择
SelectAll = 全选 SelectAll = 全选
Skip = 跳过 Skip = 跳过
Skipped = 已跳过 Skipped = 已跳过
Snooze = 推迟
TelegramTitle = 加入我们的官方电报群组 TelegramTitle = 加入我们的官方电报群组
Uninstall = 卸载 Uninstall = 卸载
'@ '@

2
Sophia/PowerShell 7/de-DE/Sophia.psd1

@ -55,7 +55,6 @@ AllFilesFilter = Alle Dateien (*.*)|*.*
Change = Ändern Change = Ändern
DialogBoxOpening = Anzeigen des Dialogfensters... DialogBoxOpening = Anzeigen des Dialogfensters...
Disable = Deaktivieren Disable = Deaktivieren
Dismiss = Stornieren
Enable = Aktivieren Enable = Aktivieren
EXEFilesFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* EXEFilesFilter = *.exe|*.exe|Alle Dateien (*.*)|*.*
FolderSelect = Wählen Sie einen Ordner aus FolderSelect = Wählen Sie einen Ordner aus
@ -75,7 +74,6 @@ Select = Wählen Sie
SelectAll = Wählen Sie Alle SelectAll = Wählen Sie Alle
Skip = Überspringen Skip = Überspringen
Skipped = Übersprungen Skipped = Übersprungen
Snooze = Verschieben
TelegramTitle = Abonniere doch unseren offiziellen Kanal telegram TelegramTitle = Abonniere doch unseren offiziellen Kanal telegram
Uninstall = Deinstallieren Uninstall = Deinstallieren
'@ '@

2
Sophia/PowerShell 7/en-US/Sophia.psd1

@ -55,7 +55,6 @@ AllFilesFilter = All Files (*.*)|*.*
Change = Change Change = Change
DialogBoxOpening = Displaying the dialog box... DialogBoxOpening = Displaying the dialog box...
Disable = Disable Disable = Disable
Dismiss = Dismiss
Enable = Enable Enable = Enable
EXEFilesFilter = *.exe|*.exe|All Files (*.*)|*.* EXEFilesFilter = *.exe|*.exe|All Files (*.*)|*.*
FolderSelect = Select a folder FolderSelect = Select a folder
@ -75,7 +74,6 @@ Select = Select
SelectAll = Select all SelectAll = Select all
Skip = Skip Skip = Skip
Skipped = Skipped Skipped = Skipped
Snooze = Snooze
TelegramTitle = Join our official Telegram group TelegramTitle = Join our official Telegram group
Uninstall = Uninstall Uninstall = Uninstall
'@ '@

2
Sophia/PowerShell 7/es-ES/Sophia.psd1

@ -55,7 +55,6 @@ AllFilesFilter = Todos los archivos (*.*)|*.*
Change = Cambio Change = Cambio
DialogBoxOpening = Viendo el cuadro de diálogo... DialogBoxOpening = Viendo el cuadro de diálogo...
Disable = Desactivar Disable = Desactivar
Dismiss = Ignorar
Enable = Habilitar Enable = Habilitar
EXEFilesFilter = *.exe|*.exe|Todos los Archivos (*.*)|*.* EXEFilesFilter = *.exe|*.exe|Todos los Archivos (*.*)|*.*
FolderSelect = Seleccione una carpeta FolderSelect = Seleccione una carpeta
@ -75,7 +74,6 @@ Select = Seleccionar
SelectAll = Seleccionar todo SelectAll = Seleccionar todo
Skip = Omitir Skip = Omitir
Skipped = Omitido Skipped = Omitido
Snooze = Posponer
TelegramTitle = Únete a nuestro canal oficial de Telegram TelegramTitle = Únete a nuestro canal oficial de Telegram
Uninstall = Desinstalar Uninstall = Desinstalar
'@ '@

2
Sophia/PowerShell 7/fr-FR/Sophia.psd1

@ -55,7 +55,6 @@ AllFilesFilter = Tous les Fichiers (*.*)|*.*
Change = Changer Change = Changer
DialogBoxOpening = Afficher la boîte de dialogue... DialogBoxOpening = Afficher la boîte de dialogue...
Disable = Désactiver Disable = Désactiver
Dismiss = Annuler
Enable = Activer Enable = Activer
EXEFilesFilter = *.exe|*.exe|Tous les Fichiers (*.*)|*.* EXEFilesFilter = *.exe|*.exe|Tous les Fichiers (*.*)|*.*
FolderSelect = Sélectionner un dossier FolderSelect = Sélectionner un dossier
@ -75,7 +74,6 @@ Select = Sélectionner
SelectAll = Tout sélectionner SelectAll = Tout sélectionner
Skip = Passer Skip = Passer
Skipped = Passé Skipped = Passé
Snooze = Reporter
TelegramTitle = Rejoignez notre chaîne Telegram officielle TelegramTitle = Rejoignez notre chaîne Telegram officielle
Uninstall = Désinstaller Uninstall = Désinstaller
'@ '@

4
Sophia/PowerShell 7/it-IT/Sophia.psd1

@ -1,5 +1,5 @@
ConvertFrom-StringData -StringData @' ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = Lo script supporta solo Windows 10 x 64 UnsupportedOSBitness = Lo script supporta solo Windows 10 x64
UnsupportedOSBuild = Lo script supporta Windows 10, 2004 / 20H1 versioni e superiori UnsupportedOSBuild = Lo script supporta Windows 10, 2004 / 20H1 versioni e superiori
UnsupportedRelease = Nuova versione trovata UnsupportedRelease = Nuova versione trovata
ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata
@ -55,7 +55,6 @@ AllFilesFilter = Tutti i file (*.*)|*.*
Change = Modificare Change = Modificare
DialogBoxOpening = Visualizzazione della finestra di dialogo... DialogBoxOpening = Visualizzazione della finestra di dialogo...
Disable = Disattivare Disable = Disattivare
Dismiss = Ignorare
Enable = Abilitare Enable = Abilitare
EXEFilesFilter = *.exe|*.exe|Tutti i file (*.*)|*.* EXEFilesFilter = *.exe|*.exe|Tutti i file (*.*)|*.*
FolderSelect = Selezionare una cartella FolderSelect = Selezionare una cartella
@ -75,7 +74,6 @@ Select = Selezionare
SelectAll = Seleziona tutto SelectAll = Seleziona tutto
Skip = Salta Skip = Salta
Skipped = Saltato Skipped = Saltato
Snooze = Sonnellino
TelegramTitle = Unisciti al nostro canale ufficiale di Telegram TelegramTitle = Unisciti al nostro canale ufficiale di Telegram
Uninstall = Disinstallare Uninstall = Disinstallare
'@ '@

2
Sophia/PowerShell 7/pt-BR/Sophia.psd1

@ -55,7 +55,6 @@ AllFilesFilter = Todos os arquivos (*.*)|*.*
Change = Mudar Change = Mudar
DialogBoxOpening = Exibindo a caixa de diálogo... DialogBoxOpening = Exibindo a caixa de diálogo...
Disable = Desativar Disable = Desativar
Dismiss = Ignorar
Enable = Habilitar Enable = Habilitar
EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*)|*.* EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*)|*.*
FolderSelect = Escolha uma pasta FolderSelect = Escolha uma pasta
@ -75,7 +74,6 @@ Select = Selecione
SelectAll = Selecionar tudo SelectAll = Selecionar tudo
Skip = Pular Skip = Pular
Skipped = Ignorados Skipped = Ignorados
Snooze = Soneca
TelegramTitle = Entre no canal oficial do Telegram TelegramTitle = Entre no canal oficial do Telegram
Uninstall = Desinstalar Uninstall = Desinstalar
'@ '@

4
Sophia/PowerShell 7/ru-RU/Sophia.psd1

@ -34,7 +34,7 @@ CleanupTaskNotificationSnoozeInterval = Выберите интервал п
CleanupNotificationTaskDescription = Всплывающее уведомление с напоминанием об очистке неиспользуемых файлов и обновлений Windows CleanupNotificationTaskDescription = Всплывающее уведомление с напоминанием об очистке неиспользуемых файлов и обновлений Windows
SoftwareDistributionTaskNotificationEvent = Кэш обновлений Windows успешно удален SoftwareDistributionTaskNotificationEvent = Кэш обновлений Windows успешно удален
TempTaskNotificationEvent = Папка временных файлов успешно очищена TempTaskNotificationEvent = Папка временных файлов успешно очищена
FolderTaskDescription = Очистка папки "{0}" FolderTaskDescription = Очистка папки {0}
ControlledFolderAccess = Контролируемый доступ к папкам ControlledFolderAccess = Контролируемый доступ к папкам
ProtectedFoldersRequest = Хотите включить контролируемый доступ к папкам и указать папку, которую Microsoft Defender будет защищать от вредоносных приложений и угроз? ProtectedFoldersRequest = Хотите включить контролируемый доступ к папкам и указать папку, которую Microsoft Defender будет защищать от вредоносных приложений и угроз?
ProtectedFoldersListRemoved = Удаленные папки ProtectedFoldersListRemoved = Удаленные папки
@ -55,7 +55,6 @@ AllFilesFilter = Все файлы (*.*)|*.*
Change = Изменить Change = Изменить
DialogBoxOpening = Диалоговое окно открывается... DialogBoxOpening = Диалоговое окно открывается...
Disable = Отключить Disable = Отключить
Dismiss = Отмена
Enable = Включить Enable = Включить
EXEFilesFilter = *.exe|*.exe|Все файлы (*.*)|*.* EXEFilesFilter = *.exe|*.exe|Все файлы (*.*)|*.*
FolderSelect = Выберите папку FolderSelect = Выберите папку
@ -75,7 +74,6 @@ Select = Выбрать
SelectAll = Выбрать всё SelectAll = Выбрать всё
Skip = Пропустить Skip = Пропустить
Skipped = Пропущено Skipped = Пропущено
Snooze = Отложить
TelegramTitle = Присоединяйтесь к нашей официальной группе в Telegram TelegramTitle = Присоединяйтесь к нашей официальной группе в Telegram
Uninstall = Удалить Uninstall = Удалить
'@ '@

2
Sophia/PowerShell 7/tr-TR/Sophia.psd1

@ -55,7 +55,6 @@ AllFilesFilter = Tüm Dosyalar (*.*)|*.*
Change = Değiştir Change = Değiştir
DialogBoxOpening = İletişim kutusu görüntüleniyor... DialogBoxOpening = İletişim kutusu görüntüleniyor...
Disable = Devre dışı bırak Disable = Devre dışı bırak
Dismiss = İptal
Enable = Aktif et Enable = Aktif et
EXEFilesFilter = *.exe|*.exe|Tüm Dosyalar (*.*)|*.* EXEFilesFilter = *.exe|*.exe|Tüm Dosyalar (*.*)|*.*
FolderSelect = Klasör seç FolderSelect = Klasör seç
@ -75,7 +74,6 @@ Select = Seç
SelectAll = Hepsini seç SelectAll = Hepsini seç
Skip = Atla Skip = Atla
Skipped = Atlandı Skipped = Atlandı
Snooze = Ertelemek
TelegramTitle = Resmi Telegram kanalımıza katılın TelegramTitle = Resmi Telegram kanalımıza katılın
Uninstall = Kaldır Uninstall = Kaldır
'@ '@

2
Sophia/PowerShell 7/uk-UA/Sophia.psd1

@ -55,7 +55,6 @@ AllFilesFilter = Усі файли (*.*)|*.*
Change = Змінити Change = Змінити
DialogBoxOpening = Діалогове вікно відкривається... DialogBoxOpening = Діалогове вікно відкривається...
Disable = Вимкнути Disable = Вимкнути
Dismiss = Відміна
Enable = Увімкнути Enable = Увімкнути
EXEFilesFilter = *.exe|*.exe|Усі файли (*.*)|*.* EXEFilesFilter = *.exe|*.exe|Усі файли (*.*)|*.*
FolderSelect = Виберіть папку FolderSelect = Виберіть папку
@ -75,7 +74,6 @@ Select = Вибрати
SelectAll = Вибрати все SelectAll = Вибрати все
Skip = Пропустити Skip = Пропустити
Skipped = Пропущено Skipped = Пропущено
Snooze = Відкласти
TelegramTitle = Приєднуйтесь до нашої офіційної групи Telegram TelegramTitle = Приєднуйтесь до нашої офіційної групи Telegram
Uninstall = Видалити Uninstall = Видалити
'@ '@

Loading…
Cancel
Save