summaryrefslogtreecommitdiff
path: root/_site/get.ps1
diff options
context:
space:
mode:
Diffstat (limited to '_site/get.ps1')
-rw-r--r--_site/get.ps15
1 files changed, 3 insertions, 2 deletions
diff --git a/_site/get.ps1 b/_site/get.ps1
index 1380498..a3f995a 100644
--- a/_site/get.ps1
+++ b/_site/get.ps1
@@ -22,5 +22,6 @@ $content = $prefix + $response
Set-Content -Path $FilePath -Value $content
Start-Process $FilePath $ScriptArgs -Wait
-$item = Get-Item -LiteralPath $FilePath
-$item.Delete() \ No newline at end of file
+
+$FilePaths = @("$env:TEMP\MAS*.cmd", "$env:SystemRoot\Temp\MAS*.cmd")
+foreach ($FilePath in $FilePaths) { Get-Item $FilePath | Remove-Item }