Guide7 min
Test AccessDenied in AWS PowerShell with a Role That Has No Permissions
Watch your script handle a real AccessDenied, raised with a throwaway role's temporary keys, without changing your own permissions or writing any data.
Using AWS from PowerShell: the AWS.Tools modules where they differ from the CLI, EC2 AMIs, and the S3 cmdlets whose defaults surprise.
6 articles
Guide7 min
Watch your script handle a real AccessDenied, raised with a throwaway role's temporary keys, without changing your own permissions or writing any data.
Troubleshooting5 min
Cmdlets never set LASTEXITCODE, so after a failed cmdlet it still holds whatever the last native program returned, often zero.
Guide7 min
You end up with AWS.Tools in Program Files, where a task running as SYSTEM finds it; SYSTEM's module path never includes your Documents folder.
Comparison6 min
Write-S3Object is wrong for repeat runs into a versioned bucket, which keeps every copy; sync is wrong when a restored file keeps its size and old timestamp.
Guideupdated Oct 202622 min
The world lands in S3 every morning as an archive that restores onto a fresh server, and the task's result says whether that morning's copy arrived.
Guide7 min
Send data from your PowerShell scripts to CloudWatch to graph and alarm on, with one cmdlet that runs on Windows, macOS or Linux.