summaryrefslogtreecommitdiff
path: root/get-mas.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'get-mas.ps1')
-rw-r--r--get-mas.ps14
1 files changed, 2 insertions, 2 deletions
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