Remove unwanted desktop icons
This commit is contained in:
parent
06f8394423
commit
dae4c35c2a
4 changed files with 9 additions and 0 deletions
scripts/Windows/Software/reWASD
|
@ -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*");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue