Skip to content

Commit

Permalink
T1569.002: fix psexec prereq install
Browse files Browse the repository at this point in the history
Create folder for psexec_exe
  • Loading branch information
cnotin committed Jun 20, 2020
1 parent e4bde98 commit bf72d2c
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 bf72d2c

Please sign in to comment.