Update : updated script to support Azure Az powershell module. While deleting Azure Virtual Machines, we sometimes don’t delete managed disks attached to the VM. This could be intentional as we may want to attach it to another VM or could be just because we forgot, or did not set the option to delete managed…
Create Azure disk snapshot using Powershell
Update : updated script to support Azure Az powershell module. Today , I am going to share a script to take Snapshot of Azure Managed disks. Taking a snapshot of business critical systems before working on any system change which can potentially cause business impact is crucial. If something goes wrong, you can quickly restore…
Convert Azure Premium disk to Standard disk using Powershell
Update : updated script to support Azure Az powershell module. Azure Managed disk is Microsoft disk storage solution. With managed disks, all you have to do is provision the disk, and Azure takes care of the rest. Microsoft provides different Managed disk types for different performance category/IOPS. Refer here for more information. It is very…
Azure Virtual Machine backup report using Powershell
Update : updated script to support Azure Az powershell module. A good backup strategy is very important for any Organization – be it on-premises or cloud. However, cloud providers have made it very easy with different cloud based backup and recovery solutions. Microsoft Azure provides Azure Recovery Services for backup and recovery solution on cloud….
Restore AWS Route53 DNS records to Azure DNS
This is the Part 2 of the two part series of Backup of AWS Route53 DNS records and restoring in Azure DNS using an Azure Automation Runbook. Please refer Part 1 for Backup of DNS records to Azure Blob storage. You should have following prerequisites set up before you run the Runbook: Azure Blob storage…
Backup AWS Route 53 DNS record using Powershell
AWS Route 53 is the DNS service provided by Amazon. It stores all hosted zones for your organization and stores different DNS record types. It performs name resolution of devices and applications. A backup of these records is very important. Therefore, any issue or disaster, you can quickly restore those and keep your name resolution…
AWS IAM Policy audit for Powerful Action using Powershell
Amazon Identity and Access Management (IAM) manages access to AWS services and resources securely. As best practice, we should provide access to IAM User, Group etc. with minimum permission to perform their job. But, We often make mistake by providing access to certain Powerful Actions through IAM policy and, enables users, groups etc. to perform…
Automated MD5 CheckSum comparison using Powershell
Recently I came across a requirement where we wanted to make sure if checksum of files copied from source to destination remain same. Checksum is used data integrity monitoring for given file. I used MD5 checksum algorithm for file integrity check. Refer here for more information. Manually comparing a large set of files is very…