How to pass Name with AWS snapshot copy cmdlet?

Welcome Forums General PowerShell Q&A How to pass Name with AWS snapshot copy cmdlet?

Viewing 0 reply threads
  • Author
    Posts
    • #188251
      Participant
      Topics: 9
      Replies: 11
      Points: 82
      Rank: Member

      The command below finds the snapshot I want and copies it to another region on Amazon AWS, but it doesn't bring over the snapshot name. 

      Get-EC2Snapshot | ? { $_.Description -eq "20191113" } | Copy-EC2Snapshot -SourceSnapshotID { $_.SnapshotID } -Description "20191113" -SourceRegion us-west-2 -DestinationRegion us-east-1

      Here is the documentation on the cmdlet: https://docs.aws.amazon.com/powershell/latest/reference/items/Copy-EC2Snapshot.html

       

       

Viewing 0 reply threads
  • You must be logged in to reply to this topic.