Fix colors in `PowerShell`, change `temp folder` used in the Script, rename `scripts` (#91)

* fix: console background color changing
- Add new background colors which works greatly with Powershell and Windows Terminal

* docs: update ISSUE_TEMPLATEs
- Log folder location
- change label to only Feature Request

* Fix: Tab 1 Panel 2 app order

* refactor: change script tmp folder to actually be on User Temp
- Get the Script Temp folder using a new function

* Delete remaining from old tmp\ folder

* arch: rename all powershell scripts to match PS naming
- Even if it isn't approved

* chore: remove unused code
- Install-HEVCSupport function which doesn't work anymore
main
Plínio Larrubia 2 years ago committed by Plínio Larrubia
parent ee5ae35c7f
commit abfc5d2d30
No known key found for this signature in database
GPG Key ID: 057B0A87CB137C69

@ -75,7 +75,7 @@ body:
label: Logs
description: |
**Only needed if it's error related**
Put your log file from: C:\Users\{ Your User }\AppData\Local\Temp\Win-DT-Logs\Win10ScriptXXX_YYYY-MM-DD_hh-mm-ss.txt
Put your log file from: C:\Users\{ Your User }\AppData\Local\Temp\Win-Debloat-Tools\logs\WinDebloatTools.log
TIP: press `Win + R` and type `%Temp%` then hit `ENTER`, now find the log file
validations:
required: false
@ -86,4 +86,4 @@ body:
description: |
Please feel free to add any additional info here
validations:
required: false
required: false

@ -1,7 +1,7 @@
# Docs - https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
name: Feature Request
description: Suggest a new feature for this debloat script.
labels: ["Enhancement / Feature Request"]
labels: ["Feature Request"]
# title: "FR: "
# assignees:
# - octocat
@ -39,4 +39,4 @@ body:
Include screenshots or video if you like to help demonstrate how you'd like this feature to work
validations:
required: false
required: false

@ -109,21 +109,21 @@ Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 |
- [Import all necessary _modules_ before executing everything](./src/lib/);
- Logs both script runs on `C:\Users\<<USERNAME>>\AppData\Local\Temp\Win-DT-Logs`;
- [Make a Restore Point and Backup the Hosts file](./src/scripts/backup-system.ps1);
- [Install _Winget/Chocolatey_ package managers by default](./src/scripts/install-package-managers.ps1);
- [Make a Restore Point and Backup the Hosts file](./src/scripts/Backup-System.ps1);
- [Install _Winget/Chocolatey_ package managers by default](./src/scripts/Install-PackageManager.ps1);
- Creates a new Scheduled Task to daily upgrade all available softwares via _Winget_ at **12:00** and _Chocolatey_ at **13:00**;
- Find the Scheduled Task on `Task Scheduler > Microsoft > Windows > PowerShell > ScheduledJobs > Chocolatey/Winget Daily Upgrade`;
- Register daily upgrade logs on `C:\Users\<<USERNAME>>\AppData\Local\Temp\Win-DT-Logs` and remove old log files;
- [Download AdwCleaner and Run the latest version for _Virus/Adware_ scan and from OOShutUp10 and import all Recommended settings from a file](./src/scripts/silent-debloat-softwares.ps1);
- [Disable _non-essential_ Telemetry from Scheduled Tasks and Optimize it](./src/scripts/optimize-task-scheduler.ps1);
- [Disable _heavy_ Services, but enable some on SSDs for optimum performance](./src/scripts/optimize-services.ps1);
- [Remove some of the legacy system components called "_capabilities_", except the most popular ones](./src/scripts/remove-windows-capabilities.ps1);
- [Remove _Bloatware_ UWP Apps that comes with Windows 10+, except from my choice](./src/scripts/remove-bloatware-apps.ps1);
- [Optimize Privacy by disabling more telemetry parts and changing GPOs, all through changing registry keys](./src/scripts/optimize-privacy.ps1);
- [Optimize Performance by changing away from default settings that slowdowns the system, utilizing _PowerShell_ commands and changing registries to disable features](./src/scripts/optimize-performance.ps1);
- [Apply General Personalization tweaks via Registry and _PowerShell_ commands](./src/scripts/personal-tweaks.ps1);
- [Help improve the Security of Windows while maintaining performance](./src/scripts/optimize-security.ps1);
- [Disable _obsolete_ Windows optional features and enable some that might help](./src/scripts/optimize-windows-features.ps1);
- [Disable _non-essential_ Telemetry from Scheduled Tasks and Optimize it](./src/scripts/Optimize-TaskScheduler.ps1);
- [Disable _heavy_ Services, but enable some on SSDs for optimum performance](./src/scripts/Optimize-ServicesRunning.ps1);
- [Remove some of the legacy system components called "_capabilities_", except the most popular ones](./src/scripts/Remove-CapabilitiesList.ps1);
- [Remove _Bloatware_ UWP Apps that comes with Windows 10+, except from my choice](./src/scripts/Remove-BloatwareAppsList.ps1);
- [Optimize Privacy by disabling more telemetry parts and changing GPOs, all through changing registry keys](./src/scripts/Optimize-Privacy.ps1);
- [Optimize Performance by changing away from default settings that slowdowns the system, utilizing _PowerShell_ commands and changing registries to disable features](./src/scripts/Optimize-Performance.ps1);
- [Apply General Personalization tweaks via Registry and _PowerShell_ commands](./src/scripts/Register-PersonalTweaksList.ps1);
- [Help improve the Security of Windows while maintaining performance](./src/scripts/Optimize-Security.ps1);
- [Disable _obsolete_ Windows optional features and enable some that might help](./src/scripts/Optimize-WindowsFeaturesList.ps1);
</details>
@ -134,7 +134,7 @@ Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 |
### System Tweaks
#### Customize System Features ([Can be found here](src/utils/individual-tweaks.psm1))
#### Customize System Features ([Can be found here](src/utils/Individual-Tweaks.psm1))
- `Enable/Disable Dark Theme`: Apply _Dark Theme_ or _Light Theme_ on Windows;
- `Enable/Disable Activity History`: Manages the **Activity History** setting;
@ -156,11 +156,11 @@ Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 |
- `Apply Tweaks`: Run every Common Tweak scripts ([Go To **☑️ Common Script Features** section](#%EF%B8%8F-common-script-features));
- `Undo Tweaks`: Re-apply some tweaks and _Revert_ all possible ones, covering the, `ShutUp10 settings`, `Scheduled Tasks`, `Services`, `Privacy and Performance`, `Personal` and `Optional Features` tweaks, then try to `Reinstall Pre-Installed Apps`;
- [`Remove Microsoft Edge`](./src/scripts/remove-msedge.ps1): uninstalls Microsoft Edge/WebView, then remove the remaining files;
- [`Remove OneDrive`](./src/scripts/remove-onedrive.ps1): completely removes OneDrive from the System, re-install is possible via Win Store;
- [`Remove Xbox`](./src/scripts/remove-xbox.ps1): wipe Xbox Apps, disable Services related to Xbox and GameBar/GameDVR;
- [`Remove Microsoft Edge`](./src/scripts/Remove-MSEdge.ps1): uninstalls Microsoft Edge/WebView, then remove the remaining files;
- [`Remove OneDrive`](./src/scripts/Remove-OneDrive.ps1): completely removes OneDrive from the System, re-install is possible via Win Store;
- [`Remove Xbox`](./src/scripts/Remove-Xbox.ps1): wipe Xbox Apps, disable Services related to Xbox and GameBar/GameDVR;
#### Install System Apps ([Can be found here](src/utils/install-individual-system-apps.psm1))
#### Install System Apps ([Can be found here](src/utils/Install-Individual-System-Apps.psm1))
_This section contains options to restore the system apps, by downloading them from the **MS Store** (mostly) and doing **Stock configurations** (for some Apps)._
@ -179,20 +179,20 @@ _This section contains options to restore the system apps, by downloading them f
_This section contains tools to solve some Windows problems and get info about how much debloated the system is._
- [`Randomize System Color`](./src/scripts/other-scripts/new-system-color.ps1): Changes the Windows color pallette to a random generated hex color;
- [`Reinstall Pre-Installed Apps`](./src/scripts/reinstall-pre-installed-apps.ps1): Rebloat Windows with all the Pre-Installed Apps;
- [`Repair Windows`](./src/scripts/repair-windows.ps1): Try to Completely fix the Windows worst problems via Command Line;
- [`Show Debloat Info`](./src/scripts/other-scripts/show-debloat-info.ps1): Make an overall check-up from disabled and enabled Windows Components (Compare before and after applying tweaks, it's a great difference);
- [`Randomize System Color`](./src/scripts/other-scripts/New-SystemColor.ps1): Changes the Windows color pallette to a random generated hex color;
- [`Reinstall Pre-Installed Apps`](./src/scripts/Install-PreInstalledApps.ps1): Rebloat Windows with all the Pre-Installed Apps;
- [`Repair Windows`](./src/scripts/Repair-Windows.ps1): Try to Completely fix the Windows worst problems via Command Line;
- [`Show Debloat Info`](./src/scripts/other-scripts/Show-DebloatInfo.ps1): Make an overall check-up from disabled and enabled Windows Components (Compare before and after applying tweaks, it's a great difference);
#### Windows Update ([Can be found here](src/utils/individual-tweaks.psm1))
#### Windows Update ([Can be found here](src/utils/Individual-Tweaks.psm1))
- `Enable/Disable Automatic Windows Update`: Set Windows updates to automatic or manual;
#### Optional Features ([Can be found here](src/utils/individual-tweaks.psm1))
#### Optional Features ([Can be found here](src/utils/Individual-Tweaks.psm1))
_This section can manually adjust `Optional Features` from the system, working as a ON/OFF toggle._
#### Miscellaneous Features ([Can be found here](src/utils/individual-tweaks.psm1))
#### Miscellaneous Features ([Can be found here](src/utils/Individual-Tweaks.psm1))
- `Enable/Disable Encrypted DNS`: Sets the DNS Client Servers to **Cloudflare's** and **Google's** (ipv4 and ipv6), and enables **DNS Over HTTPS** on _Windows 11_.
- `Enable/Disable God Mode`: Manages the hidden Desktop folder called "**God Mode**";

@ -21,21 +21,21 @@ function Main() {
Request-AdminPrivilege # Check admin rights
Get-ChildItem -Recurse $PSScriptRoot\*.ps*1 | Unblock-File
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"download-web-file.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"get-hardware-info.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"open-file.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"manage-software.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"set-console-style.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"set-revert-status.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"start-logging.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"title-templates.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"get-default-color.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"get-screen-resolution.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"new-layout-page.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"show-message-dialog.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"ui-helper.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\utils\"individual-tweaks.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\utils\"install-individual-system-apps.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"Get-HardwareInfo.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"Open-File.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"Manage-Software.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"Request-FileDownload.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"Set-ConsoleStyle.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"Set-RevertStatus.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"Start-Logging.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\"Title-Templates.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"Get-CurrentResolution.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"Get-DefaultColor.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"New-LayoutPage.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"Show-MessageDialog.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\lib\ui\"Ui-Helper.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\utils\"Individual-Tweaks.psm1" -Force
Import-Module -DisableNameChecking $PSScriptRoot\src\utils\"Install-Individual-System-Apps.psm1" -Force
Set-ConsoleStyle
$CurrentFileName = (Split-Path -Path $PSCommandPath -Leaf).Split('.')[0]
@ -45,7 +45,7 @@ function Main() {
Write-Caption "$CurrentFileName v$CurrentFileLastModified"
Write-Host "Your Current Folder $pwd"
Write-Host "Script Root Folder $PSScriptRoot"
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts "install-package-managers.ps1" -NoDialog
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts "Install-PackageManager.ps1" -NoDialog
Write-ScriptLogo
If ($args) {
@ -76,17 +76,17 @@ function Open-DebloatScript {
$Scripts = @(
# [Recommended order]
"backup-system.ps1",
"silent-debloat-softwares.ps1",
"optimize-task-scheduler.ps1",
"optimize-services.ps1",
"remove-bloatware-apps.ps1",
"remove-windows-capabilities.ps1",
"optimize-privacy.ps1",
"optimize-performance.ps1",
"personal-tweaks.ps1",
"optimize-security.ps1",
"optimize-windows-features.ps1"
"Backup-System.ps1",
"Use-DebloatSoftware.ps1",
"Optimize-TaskScheduler.ps1",
"Optimize-ServicesRunning.ps1",
"Remove-BloatwareAppsList.ps1",
"Remove-CapabilitiesList.ps1",
"Optimize-Privacy.ps1",
"Optimize-Performance.ps1",
"Register-PersonalTweaksList.ps1",
"Optimize-Security.ps1",
"Optimize-WindowsFeaturesList.ps1"
)
If ($Mode -eq 'CLI') {
@ -421,7 +421,7 @@ function Show-GUI() {
# Add Elements to each Tab Panel
$T1Panel1.Controls.AddRange(@($ClCustomizeFeatures, $CbDarkTheme, $CbActivityHistory, $CbBackgroundsApps, $CbClipboardHistory, $CbClipboardSyncAcrossDevice, $CbCortana, $CbHibernate, $CbOldVolumeControl, $CbOnlineSpeechRecognition, $CbPhoneLink, $CbPhotoViewer, $CbSearchAppForUnknownExt, $CbTelemetry, $CbWSearchService, $CbXboxGameBarDVRandMode))
$T1Panel2.Controls.AddRange(@($ClDebloatTools, $ApplyTweaks, $UndoTweaks, $RemoveMSEdge, $RemoveOneDrive, $RemoveXbox, $PictureBox1))
$T1Panel2.Controls.AddRange(@($ClInstallSystemApps, $InstallCortana, $InstallDolbyAudio, $InstallMicrosoftEdge, $InstallOneDrive, $InstallPaintPaint3D, $InstallTaskbarWidgets, $InstallUWPWMediaPlayer, $InstallPhoneLink, $InstallSoundRecorder, $InstallXbox))
$T1Panel2.Controls.AddRange(@($ClInstallSystemApps, $InstallCortana, $InstallDolbyAudio, $InstallMicrosoftEdge, $InstallOneDrive, $InstallPaintPaint3D, $InstallPhoneLink, $InstallSoundRecorder, $InstallTaskbarWidgets, $InstallUWPWMediaPlayer, $InstallXbox))
$T1Panel2.Controls.AddRange(@($ClOtherTools, $RandomizeSystemColor, $ReinstallBloatApps, $RepairWindows, $ShowDebloatInfo))
$T1Panel3.Controls.AddRange(@($ClWindowsUpdate, $CbAutomaticWindowsUpdate))
$T1Panel3.Controls.AddRange(@($ClOptionalFeatures, $CbInternetExplorer, $CbPrintToPDFServices, $CbPrintingXPSServices, $CbWindowsMediaPlayer))
@ -470,15 +470,15 @@ function Show-GUI() {
$UndoTweaks.Add_Click( {
Set-RevertStatus -Revert $true
$Scripts = @(
"silent-debloat-softwares.ps1",
"optimize-task-scheduler.ps1",
"optimize-services.ps1",
"remove-windows-capabilities.ps1",
"optimize-privacy.ps1",
"optimize-performance.ps1",
"personal-tweaks.ps1",
"optimize-windows-features.ps1",
"reinstall-pre-installed-apps.ps1"
"Use-DebloatSoftware.ps1",
"Optimize-TaskScheduler.ps1",
"Optimize-ServicesRunning.ps1",
"Remove-CapabilitiesList.ps1",
"Optimize-Privacy.ps1",
"Optimize-Performance.ps1",
"Register-PersonalTweaksList.ps1",
"Optimize-WindowsFeaturesList.ps1",
"Install-PreInstalledApps.ps1"
)
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts $Scripts -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Set-RevertStatus -Revert $false
@ -488,23 +488,23 @@ function Show-GUI() {
})
$RemoveMSEdge.Add_Click( {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts @("remove-msedge.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts @("Remove-MSEdge.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
})
$RemoveOneDrive.Add_Click( {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts @("remove-onedrive.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts @("Remove-OneDrive.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
$PictureBox1.ImageLocation = "$PSScriptRoot\src\assets\script-image2.png"
$Form.Update()
})
$RemoveXbox.Add_Click( {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts @("remove-xbox.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts @("Remove-Xbox.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
$PictureBox1.ImageLocation = "$PSScriptRoot\src\assets\script-image2.png"
$Form.Update()
})
$RepairWindows.Add_Click( {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts @("backup-system.ps1", "repair-windows.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts @("Backup-System.ps1", "Repair-Windows.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
})
$InstallCortana.Add_Click( {
@ -552,11 +552,11 @@ function Show-GUI() {
})
$ReinstallBloatApps.Add_Click( {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts @("reinstall-pre-installed-apps.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Open-PowerShellFilesCollection -RelativeLocation "src\scripts" -Scripts @("Install-PreInstalledApps.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
})
$ShowDebloatInfo.Add_Click( {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("show-debloat-info.ps1") -NoDialog
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("Show-DebloatInfo.ps1") -NoDialog
})
$CbAutomaticWindowsUpdate.Add_Click( {
@ -820,7 +820,7 @@ function Show-GUI() {
})
$UpgradeAll.Add_Click( {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("update-all-packages.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("Update-AllPackage.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
})
$InstallSelected.Add_Click( {
@ -1360,7 +1360,7 @@ function Show-GUI() {
If ($InstallWSL.CheckState -eq "Checked") {
If (!($Script:UninstallSwitch)) {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("install-wsl.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("Install-WSL.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
} Else {
$AppsSelected.MSStoreApps.Add("9P9TQF7MRM4R")
}
@ -1369,7 +1369,7 @@ function Show-GUI() {
If ($InstallArchWSL.CheckState -eq "Checked") {
If (!($Script:UninstallSwitch)) {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("install-archwsl.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("Install-ArchWSL.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
} Else {
$AppsSelected.WSLDistros.Add("Arch")
}
@ -1425,14 +1425,14 @@ function Show-GUI() {
If ($InstallNerdFonts.CheckState -eq "Checked") {
If (!($Script:UninstallSwitch)) {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("install-nerd-fonts.ps1")
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("Install-NerdFont.ps1")
}
$InstallNerdFonts.CheckState = "Unchecked"
}
If ($InstallGitGnupgSshSetup.CheckState -eq "Checked") {
If (!($Script:UninstallSwitch)) {
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("git-gnupg-ssh-keys-setup.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("Git-GnupgSshKeysSetup.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
} Else {
$AppsSelected.WingetApps.AddRange(@("Git.Git", "GnuPG.GnuPG")) # Installed before inside the script
}

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Title-Templates.psm1"
function Get-CPU() {
[CmdletBinding()]

@ -0,0 +1,3 @@
function Get-TempScriptFolder() {
return "$env:TEMP\Win-Debloat-Tools" # Using this function instead of using a Global variable to not trigger PSScriptAnalyzer
}

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Title-Templates.psm1"
# Adapted from: https://www.ipswitch.com/blog/how-to-change-registry-permissions-with-powershell

@ -1,34 +1,35 @@
Import-Module -DisableNameChecking $PSScriptRoot\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Get-TempScriptFolder.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Title-Templates.psm1"
function Request-FileDownload {
[CmdletBinding()]
[OutputType([String])]
param (
[Alias('URI')]
[Parameter(Position = 0, Mandatory)]
[String] $FileURI,
[Alias('Folder', 'OutFolder')]
[Parameter(Position = 1)]
[String] $OutputFolder,
[String] $OutputFolder = "$(Get-TempScriptFolder)\downloads",
[Alias('File', 'OutFile')]
[Parameter(Position = 2, Mandatory)]
[String] $OutputFile
[String] $OutputFile,
[Alias('RelativeFolder')]
[Parameter(Position = 3)]
[String] $ExtendFolder = ""
)
Write-Verbose "[?] I'm at: $PWD"
If (!(Test-Path "$PSScriptRoot\..\tmp")) {
Write-Status -Types "@" -Status "$PSScriptRoot\..\tmp doesn't exist, creating folder..."
New-Item -Path "$PSScriptRoot\..\tmp"
}
$FileLocation = $(Join-Path -Path "$PSScriptRoot\..\tmp\" -ChildPath "$OutputFile")
Write-Verbose "[?] Downloading at: $OutputFolder + $ExtendFolder"
$OutputFolder = Join-Path -Path $OutputFolder -ChildPath $ExtendFolder
If ($OutputFolder) {
If (!(Test-Path "$PSScriptRoot\..\tmp\$OutputFolder")) {
Write-Status -Types "@" -Status "$PSScriptRoot\..\tmp\$OutputFolder doesn't exist, creating folder..."
New-Item -Path "$PSScriptRoot\..\tmp\$OutputFolder"
}
$FileLocation = $(Join-Path -Path "$PSScriptRoot\..\tmp\" -ChildPath "$OutputFolder\$OutputFile")
If (!(Test-Path $OutputFolder)) {
Write-Status -Types "@" -Status "$OutputFolder doesn't exist, creating folder..."
New-Item -Path $OutputFolder
}
$FileLocation = $(Join-Path -Path $OutputFolder -ChildPath "$OutputFile")
Import-Module BitsTransfer
Write-Host
Write-Status -Types "@" -Status "Downloading from: '$FileURI' as '$OutputFile'"
@ -49,6 +50,7 @@ function Get-APIFile {
[String] $FileNameLike,
[Parameter(Position = 3, Mandatory)]
[String] $PropertyValue,
[Alias('Folder', 'OutFolder')]
[Parameter(Position = 4)]
[String] $OutputFolder,
[Parameter(Position = 5, Mandatory)]
@ -67,6 +69,6 @@ function Get-APIFile {
<#
Example:
$FileOutput = Request-FileDownload -FileURI "https://www.example.com/download/file.exe" -OutputFile "AnotherFileName.exe" # File will download on src\tmp
$FileOutput = Request-FileDownload -FileURI "https://www.example.com/download/file.exe" -OutputFile "AnotherFileName.exe"
$WSLgOutput = Get-APIFile -URI "https://api.github.com/repos/microsoft/wslg/releases/latest" -ObjectProperty "assets" -FileNameLike "*$OSArch*.msi" -PropertyValue "browser_download_url" -OutputFile "wsl_graphics_support.msi"
#>

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Title-Templates.psm1"
function Unregister-DuplicatedPowerPlan() {
Begin {

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\"Title-Templates.psm1"
function Remove-ItemVerified() {
[CmdletBinding(SupportsShouldProcess)]

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\"Title-Templates.psm1"
function Remove-UWPApp() {
[CmdletBinding()]

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\"Title-Templates.psm1"
function Set-CapabilityState() {
[CmdletBinding()]

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\"Title-Templates.psm1"
function Set-ItemPropertyVerified() {
[CmdletBinding(SupportsShouldProcess)]

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\"Title-Templates.psm1"
function Set-OptionalFeatureState() {
[CmdletBinding()]

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\"Title-Templates.psm1"
function Set-ScheduledTaskState() {
[CmdletBinding()]

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\"Title-Templates.psm1"
function Set-ServiceStartup() {
[CmdletBinding()]

@ -1,4 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Get-TempScriptFolder.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Title-Templates.psm1"
# Adapted From: https://gist.github.com/anthonyeden/0088b07de8951403a643a8485af2709b?permalink_comment_id=3651336#gistcomment-3651336
@ -6,7 +7,7 @@ function Install-Font() {
[CmdletBinding()]
param (
[Parameter(Position = 0)]
[String] $FontSourceFolder = "$PSScriptRoot\src\tmp\fonts"
[String] $FontSourceFolder = "$(Get-TempScriptFolder)\downloads\fonts"
)
$PathToLMWindowsFonts = "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Fonts"

@ -1,5 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\ui\"show-message-dialog.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\ui\"Show-MessageDialog.psm1"
function Install-Software() {
[CmdletBinding()]

@ -1,6 +1,6 @@
# Adapted From: https://shellgeek.com/create-shortcuts-on-user-desktop-using-powershell/
# Short circuit code: https://stackoverflow.com/a/26768902
Import-Module -DisableNameChecking $PSScriptRoot\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Title-Templates.psm1"
function New-Shortcut() {
[CmdletBinding(SupportsShouldProcess)]

@ -1,5 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\ui\"show-message-dialog.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\ui\"Show-MessageDialog.psm1"
function Open-PowerShellFilesCollection {
[CmdletBinding()]

@ -1,25 +1,26 @@
function Start-Logging {
Import-Module -DisableNameChecking $PSScriptRoot\"Get-TempScriptFolder.psm1"
function Start-Logging() {
[CmdletBinding(SupportsShouldProcess)]
param (
[Parameter(Position = 0)]
[String] $Path = "$env:TEMP\Win-DT-Logs",
[String] $Path = "$(Get-TempScriptFolder)\logs",
[Parameter(Position = 1, Mandatory)]
[String] $File
)
Begin {
$Date = Get-Date -Format "yyyy-MM-dd_HH-mm-ss"
$File = "$File`_$Date.log"
$File = "$File.log"
}
Process {
Write-Host -NoNewline "[@] " -ForegroundColor Blue
Start-Transcript -Path "$Path\$File"
Start-Transcript -Path "$Path\$File" -Append
Write-Host
}
}
function Stop-Logging {
function Stop-Logging() {
Write-Host -NoNewline "[@] " -ForegroundColor Blue
Stop-Transcript
Write-Host
@ -28,6 +29,6 @@ function Stop-Logging {
<#
Example:
Start-Logging -File (Split-Path -Path $PSCommandPath -Leaf).Split(".")[0]
Start-Logging -Path "$env:TEMP\Win-DT-Logs" -File "WingetDailyUpgrade" # Automatically uses .log format
Start-Logging -Path "$env:TEMP\Win-Debloat-Tools\logs" -File "WingetDailyUpgrade" # Automatically uses .log format
Stop-Logging # Only after logging has started
#>

@ -15,11 +15,11 @@ function Write-Caption() {
[CmdletBinding()]
param (
[Parameter(Position = 0)]
[System.Object] $Object = "No Text"
[System.Object] $Object = ''
)
Write-Style "••> " -Style Bold -Color Cyan -NoNewline
Write-Style "$Object" -Style Italic -Color White
Write-Style "••>" -Style Bold -Color DarkGray -BackColor Cyan -NoNewline
Write-Style " $Object" -Style Italic -Color White -BackColor DarkGray
}
function Write-ScriptLogo() {
@ -50,14 +50,15 @@ function Write-Section() {
[CmdletBinding()]
param (
[Parameter(Position = 0)]
[System.Object] $Object = "No Text"
[System.Object] $Object = ''
)
$Art = @('<••••••••••{', '}••••••••••>')
$Art = @('<••••••••••', '••••••••••>')
Write-Style "`n$($Art[0]) " -Style Bold -Color Cyan -NoNewline
Write-Style "$Object " -Style Italic -Color White -NoNewline
Write-Style "$($Art[1])`n" -Style Bold -Color Cyan
Write-Style "`n$($Art[0])" -Style Bold -Color DarkGray -BackColor Cyan -NoNewline
Write-Style "{ $Object }" -Style Italic -Color White -BackColor DarkGray -NoNewline
Write-Style "$($Art[1])" -Style Bold -Color DarkGray -BackColor Cyan
Write-Host
}
function Write-Status() {
@ -70,14 +71,18 @@ function Write-Status() {
[Switch] $Warning
)
$TypesDone = ""
ForEach ($Type in $Types) {
Write-Style "$([char]0x1b)[94m[$([char]0x1b)[97m$Type$([char]0x1b)[94m] " -Style Bold -NoNewline
$TypesDone += "$([char]0x1b)[96m[$([char]0x1b)[97m$Type$([char]0x1b)[96m] "
}
Write-Style "$TypesDone".Trim() -Style Bold -BackColor DarkGray -NoNewline
If ($Warning) {
Write-Style "$Status" -Color Yellow
Write-Style " $Status" -Color Yellow -BackColor DarkBlue
} Else {
Write-Style "$Status" -Color Green
Write-Style " $Status" -Color Green -BackColor Black
}
}
@ -85,18 +90,41 @@ function Write-Style() {
[CmdletBinding()]
param (
[Parameter(Position = 0)]
[System.Object] $Object = "No Text",
[System.Object] $Object = '',
[Parameter(Position = 1)]
[ValidateSet("Blink", "Bold", "Italic", "Regular", "Strikethrough", "Underline")]
[String] $Style = "Regular",
[ValidateSet('Blink', 'Bold', 'Italic', 'Regular', 'Strikethrough', 'Underline')]
[String] $Style = 'Regular',
[Alias('Color')]
[Parameter(Position = 2)]
[ValidateSet("Black", "Blue", "DarkBlue", "DarkCyan", "DarkGray", "DarkGreen", "DarkMagenta", "DarkRed", "DarkYellow", "Cyan", "Gray", "Green", "Red", "Magenta", "White", "Yellow")]
[String] $Color = "White",
[ValidateSet('Black', 'Blue', 'DarkBlue', 'DarkCyan', 'DarkGray', 'DarkGreen', 'DarkMagenta', 'DarkRed', 'DarkYellow', 'Cyan', 'Gray', 'Green', 'Red', 'Magenta', 'White', 'Yellow')]
[String] $ForeColor = 'White',
[Parameter(Position = 3)]
[ValidateSet('Black', 'Blue', 'DarkBlue', 'DarkCyan', 'DarkGray', 'DarkGreen', 'DarkMagenta', 'DarkRed', 'DarkYellow', 'Cyan', 'Gray', 'Green', 'Red', 'Magenta', 'White', 'Yellow')]
[String] $BackColor = 'Black',
[Parameter(Position = 4)]
[Switch] $NoNewline
)
$Colors = @{
$BackColors = @{
"Black" = "$([char]0x1b)[40m"
"DarkBlue" = "$([char]0x1b)[44m"
"DarkGreen" = "$([char]0x1b)[42m"
"DarkCyan" = "$([char]0x1b)[46m"
"DarkGray" = "$([char]0x1b)[100m"
"DarkRed" = "$([char]0x1b)[41m"
"DarkMagenta" = "$([char]0x1b)[45m" # Doesn't work on PowerShell, but works on the Terminal
"DarkYellow" = "$([char]0x1b)[43m"
"Gray" = "$([char]0x1b)[47m"
"Blue" = "$([char]0x1b)[104m"
"Green" = "$([char]0x1b)[102m"
"Cyan" = "$([char]0x1b)[106m"
"Red" = "$([char]0x1b)[101m"
"Magenta" = "$([char]0x1b)[105m"
"Yellow" = "$([char]0x1b)[103m"
"White" = "$([char]0x1b)[107m"
}
$ForeColors = @{
"Black" = "$([char]0x1b)[30m"
"DarkBlue" = "$([char]0x1b)[34m"
"DarkGreen" = "$([char]0x1b)[32m"
@ -125,24 +153,24 @@ function Write-Style() {
}
If ($NoNewline) {
return Write-Host "$($Styles.$Style)$($Colors.$Color)$Object" -NoNewline
return Write-Host "$($Styles.$Style)$($BackColors.$BackColor)$($ForeColors.$ForeColor)$Object" -NoNewline
}
Write-Host "$($Styles.$Style)$($Colors.$Color)$Object"
Write-Host "$($Styles.$Style)$($BackColors.$BackColor)$($ForeColors.$ForeColor)$Object"
}
function Write-Title() {
[CmdletBinding()]
param (
[Parameter(Position = 0)]
[System.Object] $Object = "No Text"
[System.Object] $Object = ''
)
$Art = "<•••••••••••••••••••••••••••••••••••••••••••••••••••••••>"
Write-Style "`n$([char]0x1b)[94m$Art" -Style Bold -NoNewline
Write-Style "`n$([char]0x1b)[97m $Object" -Style Italic -NoNewline
Write-Style "`n$([char]0x1b)[94m$Art" -Style Bold
Write-Style "`n$([char]0x1b)[94m$Art" -Style Bold -BackColor Black -NoNewline
Write-Style "`n$([char]0x1b)[97m $Object" -Style Italic -BackColor Black -NoNewline
Write-Style "`n$([char]0x1b)[94m$Art" -Style Bold -BackColor Black
}
function Write-TitleCounter() {
@ -150,7 +178,7 @@ function Write-TitleCounter() {
[OutputType([System.Int32])]
param (
[Parameter(Position = 0)]
[System.Object] $Object = "No Text",
[System.Object] $Object = '',
[Parameter(Position = 1)]
[Int] $Counter = 0,
[Parameter(Position = 2)]

@ -1,6 +1,6 @@
Import-Module -DisableNameChecking $PSScriptRoot\"ui-helper.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Ui-Helper.psm1"
function Get-CurrentResolution {
function Get-CurrentResolution() {
[CmdletBinding()]
[OutputType([System.Object[]])]
param ()

@ -1,5 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\"ui-helper.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Ui-Helper.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\"Title-Templates.psm1"
function New-LayoutPage() {
[CmdletBinding()]

@ -1,5 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"get-default-color.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\"Get-DefaultColor.psm1"
# Adapted from: https://stackoverflow.com/a/35965782
# Adapted from: https://www.osdeploy.com/modules/pshot/technical/resolution-scale-and-dpi

@ -1,6 +1,7 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"download-web-file.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"get-hardware-info.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Get-HardwareInfo.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Get-TempScriptFolder.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Request-FileDownload.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
# Adapted from: https://github.com/ChrisTitusTech/win10script/blob/master/win10debloat.ps1
# Adapted from: https://github.com/W4RH4WK/Debloat-Windows-10/blob/master/utils/install-basic-software.ps1
@ -51,6 +52,7 @@ function Install-PackageManager() {
Write-Status -Types "@", $PackageManagerFullName -Status "ScheduledJob: $JobName FOUND!"
Write-Status -Types "@", $PackageManagerFullName -Status "Re-Creating with the command:"
Write-Host " { $("$UpdateScriptBlock".Trim(' ')) }`n" -ForegroundColor Cyan
Stop-ScheduledTask -TaskPath "\Microsoft\Windows\PowerShell\ScheduledJobs" -TaskName $JobName
Unregister-ScheduledJob -Name $JobName
Register-ScheduledJob @ScheduledJob | Out-Null
} Else {
@ -97,19 +99,19 @@ function Main() {
CheckExistenceBlock = { winget --version }
InstallCommandBlock =
{
New-Item -Path "$PWD\..\tmp\" -Name "winget-install" -ItemType Directory -Force | Out-Null
Push-Location -Path "$PWD\..\tmp\winget-install\"
New-Item -Path "$(Get-TempScriptFolder)\downloads\" -Name "winget-install" -ItemType Directory -Force | Out-Null
Push-Location -Path "$(Get-TempScriptFolder)\downloads\winget-install\"
Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted
Install-Script -Name winget-install -Force
winget-install.ps1
Pop-Location
Remove-Item -Path "$PWD\..\tmp\winget-install\"
Remove-Item -Path "$(Get-TempScriptFolder)\downloads\winget-install\"
}
Time = "12:00"
UpdateScriptBlock =
{
Remove-Item -Path "$env:TEMP\Win-DT-Logs\*" -Include "WingetDailyUpgrade_*.log"
Start-Transcript -Path "$env:TEMP\Win-DT-Logs\WingetDailyUpgrade_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").log"
Remove-Item -Path "$env:TEMP\Win-Debloat-Tools\logs\*" -Include "WingetDailyUpgrade_*.log"
Start-Transcript -Path "$env:TEMP\Win-Debloat-Tools\logs\WingetDailyUpgrade_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").log"
Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force # Only needed to run Winget
winget source update --disable-interactivity | Out-Host
winget upgrade --all --silent | Out-Host
@ -143,6 +145,7 @@ function Main() {
}
Remove-Item -Path $WingetOutput
Remove-Item -Path $WingetDepOutput
}
}
@ -158,8 +161,8 @@ function Main() {
Time = "13:00"
UpdateScriptBlock =
{
Remove-Item -Path "$env:TEMP\Win-DT-Logs\*" -Include "ChocolateyDailyUpgrade_*.log"
Start-Transcript -Path "$env:TEMP\Win-DT-Logs\ChocolateyDailyUpgrade_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").log"
Remove-Item -Path "$env:TEMP\Win-Debloat-Tools\logs\*" -Include "ChocolateyDailyUpgrade_*.log"
Start-Transcript -Path "$env:TEMP\Win-Debloat-Tools\logs\ChocolateyDailyUpgrade_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").log"
choco upgrade all --ignore-dependencies --yes | Out-Host
Stop-Transcript
}

@ -1,4 +1,4 @@
function Main() {
function Install-PreInstalledApps() {
# The following code is from Microsoft (Adapted): https://go.microsoft.com/fwlink/?LinkId=619547
# Get all the provisioned packages
$Packages = (Get-Item 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications') | Get-ChildItem
@ -28,4 +28,4 @@ function Main() {
}
}
Main
Install-PreInstalledApps

@ -1,6 +1,6 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"get-hardware-info.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"service-startup-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Get-HardwareInfo.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ServiceStartup.psm1"
# Adapted from: https://youtu.be/qWESrvP_uU8
# Adapted from: https://github.com/ChrisTitusTech/win10script

@ -1,5 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"scheduled-task-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ScheduledTaskState.psm1"
# Adapted from: https://youtu.be/qWESrvP_uU8
# Adapted from: https://github.com/ChrisTitusTech/win10script

@ -1,5 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"windows-feature-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-OptionalFeatureState.psm1"
# Adapted from: https://github.com/ChrisTitusTech/win10script/pull/131/files

@ -1,8 +1,8 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"open-file.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"remove-item-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"individual-tweaks.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Open-File.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Remove-ItemVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"Individual-Tweaks.psm1"
# Adapted from: https://github.com/ChrisTitusTech/win10script
# Adapted from: https://github.com/Sycnex/Windows10Debloater

@ -1,5 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"uwp-app-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Remove-UWPApp.psm1"
function Remove-BloatwareAppsList() {
$Apps = @(

@ -1,5 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"windows-capability-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-CapabilityState.psm1"
function Remove-CapabilitiesList() {
[CmdletBinding()]

@ -1,6 +1,7 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"download-web-file.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"remove-item-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Get-TempScriptFolder.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Request-FileDownload.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Remove-ItemVerified.psm1"
# Adapted from this ChrisTitus script: https://github.com/ChrisTitusTech/win10script
@ -18,10 +19,10 @@ function Use-DebloatSoftware() {
Remove-ItemVerified $AdwCleanerOutput -Force
}
Copy-Item -Path "$PSScriptRoot\..\configs\shutup10" -Destination "$(Get-TempScriptFolder)\downloads" -Recurse -Force
$ShutUpDl = "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe"
$ShutUpOutput = Request-FileDownload -FileURI $ShutUpDl -OutputFolder "ShutUp10" -OutputFile "OOSU10.exe"
$ShutUpFolder = "$PSScriptRoot\..\tmp\ShutUp10"
Push-Location -Path $ShutUpFolder
$ShutUpOutput = Request-FileDownload -FileURI $ShutUpDl -ExtendFolder "shutup10" -OutputFile "OOSU10.exe"
Push-Location -Path (Split-Path -Path $ShutUpOutput)
If ($Revert) {
Write-Status -Types "*" -Status "Running ShutUp10 and REVERTING to default settings..."

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
function New-RestorePoint() {
Write-Status -Types "+", $TweakType -Status "Enabling system drive Restore Point..."
@ -31,4 +31,4 @@ function Main() {
Backup-HostsFile # Backup the Hosts file found on "X:\Windows\System32\drivers\etc" of the current system
}
Main
Main

@ -1,8 +1,8 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"open-file.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"unregister-duplicated-power-plans.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"individual-tweaks.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Open-File.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Unregister-DuplicatedPowerPlan.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"Individual-Tweaks.psm1"
# Adapted from: https://youtu.be/hQSkPmZRCjc
# Adapted from: https://github.com/ChrisTitusTech/win10script

@ -1,7 +1,7 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"remove-item-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"individual-tweaks.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Remove-ItemVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"Individual-Tweaks.psm1"
# Adapted from: https://youtu.be/qWESrvP_uU8
# Adapted from: https://youtu.be/hQSkPmZRCjc

@ -1,7 +1,7 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"get-hardware-info.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"individual-tweaks.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Get-HardwareInfo.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"Individual-Tweaks.psm1"
# Adapted from: https://youtu.be/xz3oXHleKoM
# Adapted from: https://github.com/ChrisTitusTech/win10script

@ -1,8 +1,8 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"manage-software.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"remove-item-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\ui\"select-folder-gui.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\ui\"show-message-dialog.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Manage-Software.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"Remove-ItemVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\ui\"Select-Folder.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\ui\"Show-MessageDialog.psm1"
function Request-AdminPrivilege() {
# Used from https://stackoverflow.com/a/31602095 because it preserves the working directory!

@ -1,13 +1,14 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"download-web-file.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"install-font.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"remove-item-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Get-TempScriptFolder.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Install-Font.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Request-FileDownload.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"Remove-ItemVerified.psm1"
$FontsFolder = "fonts"
function Install-NerdFont() {
Push-Location -Path "$PSScriptRoot\..\..\tmp"
New-Item -Path "Fonts" -ItemType Directory | Out-Null
Push-Location -Path "$(Get-TempScriptFolder)\downloads"
New-Item -Path "$FontsFolder" -ItemType Directory | Out-Null
Write-Status -Types "@" -Status "Downloading Fira Code..."
Install-FiraCode
@ -42,7 +43,7 @@ function Install-MesloLGS() {
$FontFiles = @("MesloLGS NF Regular.ttf", "MesloLGS NF Bold.ttf", "MesloLGS NF Italic.ttf", "MesloLGS NF Bold Italic.ttf")
ForEach ($Font in $FontFiles) {
Request-FileDownload -FileURI "$MesloLgsURI/$Font" -OutputFolder "$FontsFolder" -OutputFile "$Font"
Request-FileDownload -FileURI "$MesloLgsURI/$Font" -ExtendFolder "$FontsFolder" -OutputFile "$Font"
}
}

@ -1,5 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
function New-SystemColor() {
Begin {

@ -1,7 +1,7 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\ui\"show-message-dialog.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\ui\"ui-helper.psm1" # Load UI libs
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\ui\"Show-MessageDialog.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\ui\"Ui-Helper.psm1" # Load UI libs
function Show-DebloatInfo {
function Show-DebloatInfo() {
[CmdletBinding()]
param (
[Parameter(Position = 0)]

@ -1,4 +1,4 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Title-Templates.psm1"
function Update-AllPackage() {
Write-Section "Upgrade all Packages"
@ -24,4 +24,4 @@ function Update-AllPackage() {
}
}
Update-AllPackage
Update-AllPackage

@ -1,7 +1,7 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"download-web-file.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"get-hardware-info.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"remove-item-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Get-HardwareInfo.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Request-FileDownload.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"Remove-ItemVerified.psm1"
function Install-ArchWSL() {
$OSArchList = Get-OSArchitecture

@ -1,10 +1,10 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"download-web-file.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"get-hardware-info.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"manage-software.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"remove-item-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"windows-feature-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Get-HardwareInfo.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Manage-Software.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Request-FileDownload.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"Remove-ItemVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\..\lib\debloat-helper\"Set-OptionalFeatureState.psm1"
function Install-WSL() {
[CmdletBinding()] param()

@ -1,8 +1,8 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"show-dialog-window.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"remove-item-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"uwp-app-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Show-MessageDialog.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Remove-ItemVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Remove-UWPApp.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
function Main() {
$Ask = "Are you sure you want to remove Microsoft Edge from Windows?`nYou can reinstall it anytime.`nNote: all users logged in will remain."

@ -1,5 +1,5 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"remove-item-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Remove-ItemVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
function Remove-OneDrive() {
# Description: This script will remove and disable OneDrive integration.

@ -1,9 +1,9 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"set-service-startup.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"show-dialog-window.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"uwp-app-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"individual-tweaks.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Set-ServiceStartup.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Show-MessageDialog.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Remove-UWPApp.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"Individual-Tweaks.psm1"
function Main() {
$Ask = "This will remove and/or disable all the Xbox:`n - Apps;`n - Services and;`n - GameBar;`n - GameDVR.`n`nDo you want to proceed?"

@ -1,9 +1,9 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
# Adapted from: https://github.com/ChrisTitusTech/win10script
function Repair-System() {
function Repair-Windows() {
Write-Title "Repair major Windows problems"
Write-Section "Reset Windows Hosts file"
@ -73,7 +73,7 @@ function Repair-System() {
}
function Main() {
Repair-System
Repair-Windows
}
Main

@ -1,13 +1,13 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"get-hardware-info.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"grant-registry-permission.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"manage-software.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"new-shortcut.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"remove-item-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"service-startup-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"windows-capability-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"windows-feature-handler.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Get-HardwareInfo.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Grant-RegistryPermission.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Manage-Software.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"New-Shortcut.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Remove-ItemVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-CapabilityState.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-OptionalFeatureState.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ServiceStartup.psm1"
$DesktopPath = [Environment]::GetFolderPath("Desktop");
$PathToLMPoliciesCloudContent = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent"

@ -1,7 +1,7 @@
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"manage-software.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"set-item-property-verified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"individual-tweaks.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Manage-Software.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"Title-Templates.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\debloat-helper\"Set-ItemPropertyVerified.psm1"
Import-Module -DisableNameChecking $PSScriptRoot\..\utils\"Individual-Tweaks.psm1"
$Script:TweakType = "App"
@ -19,11 +19,6 @@ function Install-DolbyAudio() {
Install-Software -Name "Dolby Audio" -Packages $Apps -PackageProvider 'MsStore'
}
function Install-HEVCSupport() {
Write-Status -Types "+", $TweakType -Status "Installing HEVC/H.265 video codec (MUST HAVE)..."
Install-Software -Name "HEVC Video Extensions from Device Manufacturer" -Packages "9N4WGH0Z6VHQ" -PackageProvider 'MsStore' # Gives error
}
function Install-MicrosoftEdge() {
Write-Status -Types "*", $TweakType -Status "Installing Microsoft Edge..."
Install-Software -Name "Microsoft Edge" -Packages "Microsoft.Edge"

Loading…
Cancel
Save