Skip to content

Commit

Permalink
T1569.002: fix psexec prereq install (#1043)
Browse files Browse the repository at this point in the history
Create folder for psexec_exe

Co-authored-by: Carrie Roberts <[email protected]>
  • Loading branch information
cnotin and clr2of8 authored Jun 25, 2020
1 parent 75ba087 commit 75bf6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atomics/T1569.002/T1569.002.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ atomic_tests:
get_prereq_command: |
Invoke-WebRequest "https://download.sysinternals.com/files/PSTools.zip" -OutFile "$env:TEMP\PsTools.zip"
Expand-Archive $env:TEMP\PsTools.zip $env:TEMP\PsTools -Force
New-Item -ItemType Directory ("#{psexec_exe}") -Force | Out-Null
New-Item -ItemType Directory (Split-Path "#{psexec_exe}") -Force | Out-Null
Copy-Item $env:TEMP\PsTools\PsExec.exe "#{psexec_exe}" -Force
executor:
command: |
Expand Down

0 comments on commit 75bf6ed

Please sign in to comment.