Last active
August 4, 2017 03:33
-
-
Save gcanales75/8973e6e15bfcd486ffd49e3ceab1ec15 to your computer and use it in GitHub Desktop.
Lista Las distintas versiones para un objeto en S3 cuando el bucket tiene versioning habilitado
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $bucket = "mi_bucket" | |
| $objeto = "mi_objeto" | |
| (Get-S3Version -BucketName $bucket).versions | where {$_.Key -eq $objeto} | Select Key,lastmodified,versionId,size |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment