can any one please help me in getting a powershell or bash script to delete all my AMI’s and snapshot . for example i put all my AMI’s in a note pad file and use for loop to delete it is that possible or do i need aws cli to perform this task
Checkout AWS Tools for Windows Powershell. You can use Unregister-EC2Image to un-register AMIs and Remove-EC2Snapshot to delete snapshots, checkout the Cmdlet Reference. You will obviously need to download and install the tools on a system where you plan to run these commands.