Skip to content

Instantly share code, notes, and snippets.

@josephsindel
Created September 6, 2016 22:22
Show Gist options
  • Save josephsindel/1e8ab87012194b4bc379e185ddc1fd55 to your computer and use it in GitHub Desktop.
Save josephsindel/1e8ab87012194b4bc379e185ddc1fd55 to your computer and use it in GitHub Desktop.
$client = new-object System.Net.WebClient
$client.DownloadFile("https://s3-us-west-2.amazonaws.com/aws-agent-discovery.us-west-2/windows/installer/latest/DiscoveryAgentInstall.exe","C:\DiscoveryAgentInstall.exe")
Start-Process -FilePath "C:\DiscoveryAgentInstall.exe" -ArgumentList "REGION=us-west-2"
[3:18]
https://s3-us-west-2.amazonaws.com/aws-agent-discovery.us-west-2/windows/installer/latest/DiscoveryAgentInstall.exe
new messages
[3:21]
DiscoveryAgentInstall.exe REGION=us-west-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment