From 66656bd8bf252de742b2a2f074b56e892d55c9c4 Mon Sep 17 00:00:00 2001 From: Aaron Parker Date: Mon, 25 Nov 2024 18:38:57 +1100 Subject: [PATCH] Update Remove-Directory.ps1 --- scripts/tweaks/Remove-Directory.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tweaks/Remove-Directory.ps1 b/scripts/tweaks/Remove-Directory.ps1 index 880cef9..39ba04c 100644 --- a/scripts/tweaks/Remove-Directory.ps1 +++ b/scripts/tweaks/Remove-Directory.ps1 @@ -9,6 +9,6 @@ if (Test-Path -Path "$Env:SystemDrive\Apps") { if (Test-Path -Path "$Env:SystemDrive\DeployAgent") { Remove-Item -Path "$Env:SystemDrive\DeployAgent" -Recurse -Force -ErrorAction "SilentlyContinue" } - Remove-Item -Path "$Env:SystemDrive\Users\AgentInstall.txt" -Force -Confirm:$false -ErrorAction "SilentlyContinue" Remove-Item -Path "$Env:SystemDrive\Users\AgentBootLoaderInstall.txt" -Force -Confirm:$false -ErrorAction "SilentlyContinue" +Remove-Item -Path "$Env:Public\Desktop\*.lnk" -Force -Confirm:$false -ErrorAction "SilentlyContinue"