Skip to content

Instantly share code, notes, and snippets.

@lantrix
Created February 10, 2015 02:56
Show Gist options
  • Select an option

  • Save lantrix/987f39a561ee332ac8db to your computer and use it in GitHub Desktop.

Select an option

Save lantrix/987f39a561ee332ac8db to your computer and use it in GitHub Desktop.
Change lots of Resource Tags in AWS
$a = Get-EC2Tag -Filter @{Name="tag:Environment Name"; Value="My Environment"}
New-EC2Tag -Resources $a.ResourceId -Tags @{Key='Project'; Value='My Project'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment