Remove unwanted desktop icons

This commit is contained in:
Manuel Thalmann 2023-07-16 12:46:00 +02:00
parent 06f8394423
commit dae4c35c2a
4 changed files with 9 additions and 0 deletions
scripts/Windows/Software/reWASD

View file

@ -24,5 +24,8 @@ $null = New-Module {
Write-Information "Restoring files";
$context.Restore($context.SoftwareArchive($softwareName), $path);
Write-Information "Removing desktop icon";
$context.RemoveDesktopIcon("*reWASD*");
}
}