How to Delete Multiple AWS S3 buckets which are in different region
We usually can delete multiple buckets in same region, but S3 is not region centric and sometimes we may need to delete buckets from different regions at same time,...
Read MoreWe usually can delete multiple buckets in same region, but S3 is not region centric and sometimes we may need to delete buckets from different regions at same time,...
Read MoreListsLists are what they seem – a list of values. Each one of them is numbered, starting from zero – the first one is numbered zero, the second 1,...
Read Morefor region in `aws ec2 describe-regions --output text | cut -f3`do echo -e "nListing Instances in region:'$region'..." aws ec2 describe-instances --region $regiondone As of Today (30-01-2017), You will get...
Read MoreApplies To: Windows PowerShell 2.0 When you add aliases, functions, and variables, you are actually adding them only to the current Windows PowerShell session. If you exit the session...
Read MoreFirst you have to create a CSV file with the following entry’s: VMName,Note VM1,Domain Controller VM2,Database Server The second step is to run this one-liner. The one-liner will add...
Read MoreADPlus is a tool from Microsoft Product Support Services (PSS) that can troubleshoot any process or application that stops responding (hangs) or fails (crashes). Frequently, you can use ADPlus...
Read MoreBelow function should be include in the script: function Send-SMTPmail($to, $from, $subject, $smtpserver, $body, $attachment) {$mailer = new-object Net.Mail.SMTPclient($smtpserver)$msg = new-object Net.Mail.MailMessage($from,$to,$subject,$body)$msg.IsBodyHTML = $true$attachment = new-object Net.Mail.Attachment($attachment)$msg.attachments.add($attachment)$mailer.send($msg)} Command which...
Read MoreThere are a couple of ways to rename a Virtual Machine, but there are two in my opinion that stand out: Shutdown the VM Rename the VM in VirtualCenter...
Read MoreIf we have a issue wot Resume windows which is in suspended mode and if we get below error: Then we need to delete respective vmss file from the...
Read Morersh and rexec commands (inbuilt) and we can use PsExec.exe RSH:—Runs commands on remote hosts running the RSH service. RSH host [-l username] [-n] command host Specifies the remote...
Read More