Remove desktop icons both from user and public folder
This commit is contained in:
parent
234b49fdf9
commit
6d166ab71e
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ class Context {
|
|||
|
||||
[void] RemoveDesktopIcon($pattern) {
|
||||
Remove-Item "$env:PUBLIC/Desktop/$pattern";
|
||||
Remove-Item "~/Desktop/$pattern";
|
||||
}
|
||||
|
||||
[void] RemoveTaskbarItem($pattern) {
|
||||
|
|
Loading…
Reference in a new issue