foreach ($o in $outbox)
How can i get only files from s3 folders.
You'd have to see what you can filter on to determine if it is a file. The examples I see indicate the Get-S3Object returns files, like this blog: https://blogs.msdn.microsoft.com/cindygross/2015/02/20/powershell-works-for-amazon-aws-s3-too/
Try adding a | Select * or Get-Member to see all of the properties that Get-S3Object returns so you can build a Where filter
You must be logged in to reply to this topic.