diff --git a/get-mas.ps1 b/get-mas.ps1 index ebc051a..47763bb 100644 --- a/get-mas.ps1 +++ b/get-mas.ps1 @@ -8,8 +8,8 @@ function Exit-Script { ) process { - if (Test-Path -Path "$env:TEMP\MAS.cmd") { - Remove-Item -Path "$env:TEMP\MAS.cmd" -Force + if (Test-Path -Path "$env:USERPROFILE\Desktop\MAS.cmd") { + Remove-Item -Path "$env:USERPROFILE\Desktop\MAS.cmd" -Force } exit $ExitCode