Add a function for removing desktop icons

This commit is contained in:
Manuel Thalmann 2024-08-06 00:02:07 +02:00
commit 348b1a00bc
2 changed files with 25 additions and 0 deletions
scripts/Windows/Software/Windows

View file

@ -66,6 +66,8 @@ Start-SoftwareInstaller @PSBoundParameters `
$startLayoutFile = "start.json";
Write-Host "Removing adware";
Remove-DesktopIcon "*Microsoft Edge*";
Edit-DefaultUserKey {
param (
[RegistryKey] $Key