Demo entry 6684532

powershell

   

Submitted by anonymous on Dec 15, 2017 at 19:54
Language: PowerShell. Code size: 374 Bytes.

<powershell>  
Start-Process -Wait -FilePath c:\temp\codedeploy-agent.msi -WindowStyle Hidden
New-Item -Path c:\temp -ItemType "directory" -Force
powershell.exe -Command Read-S3Object -BucketName bucket-name/latest -Key codedeploy-agent.msi -File c:\temp\codedeploy-agent.msi
Start-Process -Wait -FilePath c:\temp\codedeploy-agent.msi -WindowStyle Hidden
</powershell> 

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).