From 4ed14355ed575696397e757c364dd22f929cebd3 Mon Sep 17 00:00:00 2001 From: Carrie Roberts Date: Thu, 2 Jul 2020 17:37:28 -0600 Subject: [PATCH] add -Force to avoid error when redownloading --- atomics/T1027/T1027.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atomics/T1027/T1027.yaml b/atomics/T1027/T1027.yaml index 6c232bc0..6c63a3a8 100644 --- a/atomics/T1027/T1027.yaml +++ b/atomics/T1027/T1027.yaml @@ -94,7 +94,7 @@ atomic_tests: if (Test-Path #{exe_payload}) {exit 0} else {exit 1} get_prereq_command: | Invoke-WebRequest "#{url_path}" -OutFile "$env:temp\T1027.zip" - Expand-Archive -path "$env:temp\T1027.zip" -DestinationPath "$env:temp\temp_T1027.zip\" + Expand-Archive -path "$env:temp\T1027.zip" -DestinationPath "$env:temp\temp_T1027.zip\" -Force executor: command: | "#{exe_payload}"