Browse Source

Small changes

pull/429/head
Dmitry Nefedov 2 years ago
parent
commit
be0cb9711d
  1. 2
      Wrapper/Localizations/de-DE/tooltip_Windows_10.json
  2. 2
      Wrapper/Localizations/de-DE/tooltip_Windows_11.json
  3. 2
      Wrapper/Localizations/en-US/tooltip_Windows_10.json
  4. 2
      Wrapper/Localizations/en-US/tooltip_Windows_11.json
  5. 2
      Wrapper/Localizations/ru-RU/tooltip_Windows_10.json
  6. 2
      Wrapper/Localizations/ru-RU/tooltip_Windows_11.json
  7. 6
      src/Sophia_Script_for_Windows_10/Functions.ps1
  8. 2
      src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1
  9. 11
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  10. 6
      src/Sophia_Script_for_Windows_10/Sophia.ps1
  11. 6
      src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1
  12. 2
      src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1
  13. 4
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  14. 6
      src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1
  15. 6
      src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1
  16. 2
      src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1
  17. 4
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  18. 6
      src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1
  19. 6
      src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1
  20. 2
      src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1
  21. 11
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  22. 6
      src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1
  23. 6
      src/Sophia_Script_for_Windows_11/Functions.ps1
  24. 2
      src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1
  25. 15
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  26. 6
      src/Sophia_Script_for_Windows_11/Sophia.ps1
  27. 6
      src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1
  28. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1
  29. 17
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1
  30. 6
      src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1

2
Wrapper/Localizations/de-DE/tooltip_Windows_10.json

@ -1436,7 +1436,7 @@
"Arg": {
"Zero": {
"Tag": "",
"ToolTip": "Installieren Sie die neueste .NET Desktop Runtime 6 (x86/x64)"
"ToolTip": "Installieren Sie die neueste .NET Desktop Runtime 7 (x86/x64)"
}
}
},

2
Wrapper/Localizations/de-DE/tooltip_Windows_11.json

@ -1327,7 +1327,7 @@
"Arg": {
"Zero": {
"Tag": "",
"ToolTip": "Установить последнюю версию .NET Desktop Runtime 6 (x86/x64)"
"ToolTip": "Установить последнюю версию .NET Desktop Runtime 7 (x86/x64)"
}
}
},

2
Wrapper/Localizations/en-US/tooltip_Windows_10.json

@ -1436,7 +1436,7 @@
"Arg": {
"Zero": {
"Tag": "",
"ToolTip": "Install the latest .NET Desktop Runtime 6 (x86/x64)"
"ToolTip": "Install the latest .NET Desktop Runtime 7 (x86/x64)"
}
}
},

2
Wrapper/Localizations/en-US/tooltip_Windows_11.json

@ -1327,7 +1327,7 @@
"Arg": {
"Zero": {
"Tag": "",
"ToolTip": "Install the latest .NET Desktop Runtime 6 (x86/x64)"
"ToolTip": "Install the latest .NET Desktop Runtime 7 (x86/x64)"
}
}
},

2
Wrapper/Localizations/ru-RU/tooltip_Windows_10.json

@ -1436,7 +1436,7 @@
"Arg": {
"Zero": {
"Tag": "",
"ToolTip": "Установить последнюю версию .NET Desktop Runtime 6 (x86/x64)"
"ToolTip": "Установить последнюю версию .NET Desktop Runtime 7 (x86/x64)"
}
}
},

2
Wrapper/Localizations/ru-RU/tooltip_Windows_11.json

@ -1327,7 +1327,7 @@
"Arg": {
"Zero": {
"Tag": "",
"ToolTip": "Установить последнюю версию .NET Desktop Runtime 6 (x86/x64)"
"ToolTip": "Установить последнюю версию .NET Desktop Runtime 7 (x86/x64)"
}
}
},

6
src/Sophia_Script_for_Windows_10/Functions.ps1

@ -5,8 +5,8 @@
Version: v5.14.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1

@ -3,7 +3,7 @@
ModuleVersion = '5.14.4'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '5.1'
ProcessorArchitecture = 'AMD64'

11
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -5,8 +5,8 @@
Version: v5.14.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -64,7 +64,7 @@ function Checks
}
# Detect the OS build version
switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber)
switch ((Get-CimInstance -ClassName CIM_OperatingSystem).BuildNumber)
{
{($_ -ge 19044) -and ($_ -le 19048)}
{
@ -10007,7 +10007,10 @@ function UninstallUWPApps
"Microsoft.AV1VideoExtension",
# HEVC Video Extensions from Device Manufacturer
"Microsoft.HEVCVideoExtension"
"Microsoft.HEVCVideoExtension",
# HEIF Image Extensions
"Microsoft.HEIFImageExtension"
)
#region Variables

6
src/Sophia_Script_for_Windows_10/Sophia.ps1

@ -5,8 +5,8 @@
Version: v5.14.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -70,7 +70,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1

@ -5,8 +5,8 @@
Version: v5.4.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.4.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.4.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1

@ -3,7 +3,7 @@
ModuleVersion = '5.4.4'
GUID = 'a36a65ca-70f9-43df-856c-3048fc5e7f01'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '5.1'
ProcessorArchitecture = 'AMD64'

4
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -5,8 +5,8 @@
Version: v5.4.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved

6
src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1

@ -5,8 +5,8 @@
Version: v5.4.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -70,7 +70,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.4.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.4.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1

@ -5,8 +5,8 @@
Version: v5.14.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.14.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.14.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1

@ -3,7 +3,7 @@
ModuleVersion = '5.14.4'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '5.1'
ProcessorArchitecture = 'AMD64'

4
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -5,8 +5,8 @@
Version: v5.14.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved

6
src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1

@ -5,8 +5,8 @@
Version: v5.14.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -70,7 +70,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.14.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.14.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1

@ -5,8 +5,8 @@
Version: v5.14.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.4 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.4 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1

@ -3,7 +3,7 @@
ModuleVersion = '5.14.4'
GUID = 'aa0b47a7-1770-4b5d-8c9f-cc6c505bcc7a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '7.3'
ProcessorArchitecture = 'AMD64'

11
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -5,8 +5,8 @@
Version: v5.14.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -9033,7 +9033,7 @@ function UninstallPCHealthCheck
{
$File = $Folder.Items() | Where-Object -FilterScript {$_.Name -eq $MSI.Name}
# # https://learn.microsoft.com/en-us/previous-versions/tn-archive/ee176615(v=technet.10)
# https://learn.microsoft.com/en-us/previous-versions/tn-archive/ee176615(v=technet.10)
# "22" is the "Subject" file property
if ($Folder.GetDetailsOf($File, 22) -eq "Windows PC Health Check")
{
@ -10025,7 +10025,10 @@ function UninstallUWPApps
"Microsoft.AV1VideoExtension",
# HEVC Video Extensions from Device Manufacturer
"Microsoft.HEVCVideoExtension"
"Microsoft.HEVCVideoExtension",
# HEIF Image Extensions
"Microsoft.HEIFImageExtension"
)
#region Variables

6
src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1

@ -5,8 +5,8 @@
Version: v5.14.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -70,7 +70,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.4 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.4 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
src/Sophia_Script_for_Windows_11/Functions.ps1

@ -5,8 +5,8 @@
Version: v6.2.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1

@ -3,7 +3,7 @@
ModuleVersion = '6.2.4'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '5.1'
ProcessorArchitecture = 'AMD64'

15
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -5,8 +5,8 @@
Version: v6.2.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -9325,10 +9325,6 @@ function UninstallUWPApps
# Photos (and Video Editor)
"Microsoft.Windows.Photos",
"Microsoft.Photos.MediaEngineDLC",
"Microsoft.RawImageExtension"
# HEVC Video Extensions from Device Manufacturer
"Microsoft.HEVCVideoExtension",
# Calculator
"Microsoft.WindowsCalculator",
@ -9396,7 +9392,10 @@ function UninstallUWPApps
"Microsoft.HEVCVideoExtension",
# Raw Image Extension
"Microsoft.RawImageExtension"
"Microsoft.RawImageExtension",
# HEIF Image Extensions
"Microsoft.HEIFImageExtension"
)
#region Variables
@ -12368,7 +12367,7 @@ function EditWithClipchampContext
$Show
)
if (((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -ge 22621) -and (Get-AppxPackage -Name Clipchamp.Clipchamp))
if (((Get-CimInstance -ClassName CIM_OperatingSystem).BuildNumber -ge 22621) -and (Get-AppxPackage -Name Clipchamp.Clipchamp))
{
switch ($PSCmdlet.ParameterSetName)
{

6
src/Sophia_Script_for_Windows_11/Sophia.ps1

@ -5,8 +5,8 @@
Version: v6.2.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -69,7 +69,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

6
src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1

@ -5,8 +5,8 @@
Version: v6.2.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -50,7 +50,7 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.4 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1

@ -3,7 +3,7 @@
ModuleVersion = '6.2.4'
GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved'
Copyright = '(c) 2014—2023 farag & Inestic. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '7.3'
ProcessorArchitecture = 'AMD64'

17
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -5,8 +5,8 @@
Version: v6.2.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -9343,10 +9343,6 @@ function UninstallUWPApps
# Photos (and Video Editor)
"Microsoft.Windows.Photos",
"Microsoft.Photos.MediaEngineDLC",
"Microsoft.RawImageExtension"
# HEVC Video Extensions from Device Manufacturer
"Microsoft.HEVCVideoExtension",
# Calculator
"Microsoft.WindowsCalculator",
@ -9414,7 +9410,10 @@ function UninstallUWPApps
"Microsoft.HEVCVideoExtension",
# Raw Image Extension
"Microsoft.RawImageExtension"
"Microsoft.RawImageExtension",
# HEIF Image Extensions
"Microsoft.HEIFImageExtension"
)
#region Variables
@ -9538,7 +9537,7 @@ function UninstallUWPApps
$AppxPackages += Get-AppxPackage -Name SpotifyAB.SpotifyMusic -AllUsers:$AllUsers | Select-Object -Index 0
}
$PackagesIds = [Windows.Management.Deployment.PackageManager]::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)
{
@ -12396,7 +12395,7 @@ function EditWithClipchampContext
$Show
)
if (((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -ge 22621) -and (Get-AppxPackage -Name Clipchamp.Clipchamp))
if (((Get-CimInstance -ClassName CIM_OperatingSystem).BuildNumber -ge 22621) -and (Get-AppxPackage -Name Clipchamp.Clipchamp))
{
switch ($PSCmdlet.ParameterSetName)
{

6
src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1

@ -5,8 +5,8 @@
Version: v6.2.4
Date: 04.12.2022
Copyright (c) 20142022 farag
Copyright (c) 20192022 farag & Inestic
Copyright (c) 20142023 farag
Copyright (c) 20192023 farag & Inestic
Thanks to all https://forum.ru-board.com members involved
@ -69,7 +69,7 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.4 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022"
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.4 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2023"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

Loading…
Cancel
Save