Powershell Upload Files to AWS S3


Link to github for a better code reading experience GITHUB

This one writes files to AWS S3. Takes some input parameters. The variable $bucketName, can also be configured as an external parameter, our S3, only has a single bucket for these files, and they get stored under different keys, so this hard coded solution works better for us. The time parameters are only so files, that get corrected the next day get uploaded as yesterdays files to improve idempotency in our use case.