Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: farag2/Windows-10-Sophia-Script
base: 5.4
head repository: farag2/Windows-10-Sophia-Script
compare: 5.4.0.1
  • 13 commits
  • 9 files changed
  • 0 comments
  • 1 contributor
@@ -101,5 +101,5 @@ jobs:
tag: ${{ github.ref }}
overwrite: true
file_glob: true
prerelease: false
prerelease: true

@@ -5,7 +5,30 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 5.4 - 04.02.2021

## Windows 10 2004 (20H1)/20H2 (2009) | LTSC

Diff from v5.3.3
[5.3.3...5.4](https://github.com/farag2/Windows-10-Sophia-Script/compare/5.3.3...5.4)

* Now all archives are being created and uploaded to the release page via [GitHub Actions](https://github.com/farag2/Windows-10-Sophia-Script/blob/master/.github/workflows/Sophia.yml);
* Thnx to @inv2004
* When running the script using ```.\Sophia.ps1 -Functions "FunctionName1 -Parameter"``` 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;
* Updated the ```CreateRestorePoint``` function
* Closed #124
* Updated the ```EnableWSL2``` function
* Code refactoring for the ```ScheduledTasks```, ```WindowsFeatures```, ```WindowsCapabilities``` & ```UninstallUWPApps```
* The ```WindowsFeatures``` function generates **friendly** Windows features names instead of packages names :rocket:
* The ```WindowsCapabilities``` function generates **friendly** Windows capabilities names instead of packages names :rocket:
* The ```UninstallUWPApps``` function generates **friendly** UWP apps names instead of packages names :rocket:
* Clicking on "Uninstall for all users" dynamically generates UWP apps list for all users and vice versa. Currently works only on PowerShell 5.1 :thinking:
* Thanks to [iNNOKENTIY21](https://forum.ru-board.com/profile.cgi?action=show&member=iNNOKENTIY21) & @oz-zo
* Closed #56
* Removed unnecessary ```WSLSwap``` & ```syspin``` functions;
* Updated description;
* Wrapper updated;
* Minor changes. :feelsgood:

## 5.3.3 - 21.01.2021

@@ -6,13 +6,18 @@

**A PowerShell module for Windows 10 fine-tuning and automating the routine tasks** :trophy:

![Build](https://github.com/farag2/Windows-10-Sophia-Script/workflows/Build/badge.svg)
![PowerShell](https://img.shields.io/badge/PowerShell%205.1%20&%207.1-Ready-blue.svg?color=5391FE&style=flat&logo=powershell)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/b1ce4ce852f148a88c47ea33ad172044)](https://www.codacy.com/gh/farag2/Windows-10-Sophia-Script)
[![Github stats](https://img.shields.io/github/downloads/farag2/Windows-10-Setup-Script/total.svg?label=downloads%20%28since%20May%202020%29)](https://github.com/farag2/Windows-10-Sophia-Script/releases)
[![latest version](https://img.shields.io/github/v/release/farag2/Windows-10-Sophia-Script)](https://github.com/farag2/Windows-10-Sophia-Script/releases)
![Made with Love](https://img.shields.io/badge/Made%20with-%E2%9D%A4-red.svg?colorB=11a9f7)
[![Twitter](https://img.shields.io/badge/Logo%20by-teahead-blue?style=flat&logo=Twitter)](https://twitter.com/tea_head_)
<p align="center">
<img src="https://github.com/farag2/Windows-10-Sophia-Script/workflows/Build/badge.svg">
<img src="https://img.shields.io/badge/PowerShell%205.1%20&%207.1-Ready-blue.svg?color=5391FE&style=flat&logo=powershell">
<a href="https://www.codacy.com/gh/farag2/Windows-10-Sophia-Script"><img src="https://app.codacy.com/project/badge/Grade/b1ce4ce852f148a88c47ea33ad172044"></a>
</p>

<p align="center">
<a href="https://github.com/farag2/Windows-10-Sophia-Script/releases"><img src="https://img.shields.io/github/downloads/farag2/Windows-10-Setup-Script/total.svg?label=Downloads%20%28since%20May%202020%29"></a>
<a href="https://github.com/farag2/Windows-10-Sophia-Script/releases"><img src="https://img.shields.io/github/v/release/farag2/Windows-10-Sophia-Script"></a>
<img src="https://img.shields.io/badge/Made%20with-%E2%9D%A4-red.svg?colorB=11a9f7">
<a href="https://twitter.com/tea_head_"><img src="https://img.shields.io/badge/Logo%20by-teahead-blue?style=flat&logo=Twitter"></a>
</p>

Available in: <img src="https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag_of_the_United_Kingdom.svg" height="11px"/> <img src="https://upload.wikimedia.org/wikipedia/commons/f/fa/Flag_of_the_People's_Republic_of_China.svg" height="11px"/> <img src="https://upload.wikimedia.org/wikipedia/commons/b/ba/Flag_of_Germany.svg" height="11px"/>
<img src="https://upload.wikimedia.org/wikipedia/commons/c/c3/Flag_of_France.svg" height="11px"/> <img src="https://upload.wikimedia.org/wikipedia/commons/0/03/Flag_of_Italy.svg" height="11px"/> <img src="https://upload.wikimedia.org/wikipedia/commons/f/f3/Flag_of_Russia.svg" height="11px"/> <img src="https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Ukraine.svg" height="11px"/> <img src="https://upload.wikimedia.org/wikipedia/commons/b/b4/Flag_of_Turkey.svg" height="11px"/> <img src="https://upload.wikimedia.org/wikipedia/commons/9/9a/Flag_of_Spain.svg" height="11px"/>
@@ -90,9 +95,9 @@ Available in: <img src="https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag

|Version|Code name| Marketing name |Build | Arch | Editions | Script version |
|:-----:|:-------:|:------------------:|:----:|:----:|:-----------------:|:--------------:|
| 2009 | 20H2 |October 2020 Update |19042 | x64 |Home/Pro/Enterprise|[5.3.3](https://github.com/farag2/Windows-10-Sophia-Script/releases/latest)|
| 2004 | 20H1 | May 2020 Update |19041 | x64 |Home/Pro/Enterprise|[5.3.3](https://github.com/farag2/Windows-10-Sophia-Script/releases/latest)|
| 1809 | |LTSC Enterprise 2019|17763 | x64 | Enterprise |[5.0.2](https://github.com/farag2/Windows-10-Sophia-Script/releases/latest)|
| 2009 | 20H2 |October 2020 Update |19042 | x64 |Home/Pro/Enterprise|[5.4](https://github.com/farag2/Windows-10-Sophia-Script/releases/latest)|
| 2004 | 20H1 | May 2020 Update |19041 | x64 |Home/Pro/Enterprise|[5.4](https://github.com/farag2/Windows-10-Sophia-Script/releases/latest)|
| 1809 | |LTSC Enterprise 2019|17763 | x64 | Enterprise |[5.0.3](https://github.com/farag2/Windows-10-Sophia-Script/releases/latest)|

## Screenshots

@@ -127,10 +132,11 @@ Available in: <img src="https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag
* "Music";
* "Pictures"
* "Videos.
* Uninstall UWP apps from all accounts with exception apps list with pop-up form written in [WPF](#Screenshots);
* Disable Windows features;
* Uninstall UWP apps displaying friendly packages names with pop-up form written in [WPF](#Screenshots);
* Dynamically generated UWP apps list installed for all users
* Disable Windows features displaying friendly packages names with pop-up form written in [WPF](#Screenshots);
* Uninstall Windows capabilities displaying friendly packages names with pop-up form written in [WPF](#Screenshots);
* Install and setup WSL
* Remove Windows capabilities with pop-up form written in [WPF](#Screenshots);
* Create a Windows cleaning up task in the Task Scheduler;
* A toast notification will pop up a minute before the task [starts](#Screenshots)
* Create tasks in the Task Scheduler to clear
@@ -167,9 +173,9 @@ Available in: <img src="https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag
How to run the specific function(s) (example):

```powershell
.\Sophia.ps1 -Functions CreateRestorePoint, "ScheduledTasks -Disable", "WindowsCapabilities -Disable", Refresh
.\Sophia.ps1 -Functions CreateRestorePoint, "ScheduledTasks -Disable", "WindowsCapabilities -Uninstall"
```

* 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;
* The quotation marks required.

## How to translate
@@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Windows 10 Sophia Script"
Version: v5.4
Date: 04.02.2021
Version: v5.4.0.1
Date: 06.02.2021
Copyright (c) 2015–2021 farag & oZ-Zo
Thanks to all https://forum.ru-board.com members involved
@@ -47,7 +47,7 @@ param

Clear-Host

$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script v5.4 | ©️ farag & oz-zo, 2015–2021"
$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script v5.4.0.1 | ©️ farag & oz-zo, 2015–2021"

Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force
@@ -1337,4 +1337,4 @@ Refresh

# Errors output
# Вывод ошибок
Errors
Errors
BIN -879 Bytes (50%) Sophia/PowerShell 5.1/Sophia.psd1
Binary file not shown.
@@ -2628,8 +2628,8 @@ function UnpinTaskbarEdgeStore
$LocalizedString = [WinAPI.GetStr]::GetString(5387)

$Apps = (New-Object -ComObject Shell.Application).NameSpace("shell:::{4234d49b-0245-4df3-b780-3893943456e1}").Items()
$Apps | Where-Object -FilterScript {$_.Path -eq "MSEdge"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()}}
$Apps | Where-Object -FilterScript {$_.Name -eq "Microsoft Store"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()}}
[void]{$Apps | Where-Object -FilterScript {$_.Path -eq "MSEdge"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()}}}
[void]{$Apps | Where-Object -FilterScript {$_.Name -eq "Microsoft Store"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()}}}
}

<#
@@ -1,9 +1,9 @@
<#
<#
.SYNOPSIS
Default preset file for "Windows 10 Sophia Script"
Version: v5.4
Date: 04.02.2021
Version: v5.4.0.1
Date: 06.02.2021
Copyright (c) 2015–2021 farag & oZ-Zo
Thanks to all https://forum.ru-board.com members involved
@@ -47,7 +47,7 @@ param

Clear-Host

$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script v5.4 | ©️ farag & oz-zo, 2015–2021"
$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script v5.4.0.1 | ©️ farag & oz-zo, 2015–2021"

Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force
BIN -879 Bytes (50%) Sophia/PowerShell 7.x/Sophia.psd1
Binary file not shown.
@@ -2638,8 +2638,8 @@ function UnpinTaskbarEdgeStore
$LocalizedString = [WinAPI.GetStr]::GetString(5387)

$Apps = (New-Object -ComObject Shell.Application).NameSpace("shell:::{4234d49b-0245-4df3-b780-3893943456e1}").Items()
$Apps | Where-Object -FilterScript {$_.Path -eq "MSEdge"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()}}
$Apps | Where-Object -FilterScript {$_.Name -eq "Microsoft Store"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()}}
[void]{$Apps | Where-Object -FilterScript {$_.Path -eq "MSEdge"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()}}}
[void]{$Apps | Where-Object -FilterScript {$_.Name -eq "Microsoft Store"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()}}}
}

<#

No commit comments for this range