Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. <powershell>
  2. # Comment: EC2config service executes user data upon boot, if configured to do so.
  3. # EC2config log is available at: C:\Program Files\Amazon\Ec2ConfigService\Logs\Ec2ConfigLog.txt
  4. mkdir "c:\datadog\download"
  5. Set-Location "c:\datadog\download"
  6. Read-S3Object -BucketName ddagent-windows-stable -Key ddagent-cli.msi -File c:\datadog\download\ddagent-cli.msi
  7. & msiexec --% /qn /i c:\datadog\download\ddagent-cli.msi APIKEY="abcdefghijklmnopqrstuvwxyz123456" TAGS="environment:production"
  8. </powershell>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement