Update : updated script to support Azure Az powershell module. Here is a powershell script to generate a report of Azure Managed VM disks in a subscription. It generates a csv file which includes Disk Size, SKU, and associated VM details. All these information can be helpful when you are auditing your Azure environment and…
Tag: Powershell
Azure Network Interface Card status report using Powershell
Update : updated script to support Azure Az powershell module. Today, I am back with another inventory type powershell script. I recently wrote this to generate Azure Network Interface Card(NIC) details in an Azure Subscription. I wrote this script to identify any orphan NIC with Public IP not attached to any VM . Though ,…
Complete Azure Policy report using Powershell
Update : updated script to support Azure Az powershell module. Azure Policy and compliance lets you implement Guard rail base lines for your Azure environment in a programmatic way(JSON). This is very important way to define cloud Governance. Refer here to know more about Azure Policy. Today, I am back with a script to quickly…
Delete unattached Managed disks in Azure using Powershell
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…
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…