Collection of various PowerShell reusable functions and scripts.
These samples are documented here: Azure Script Samples - Series Index
The direct links to the related blog posts are:
- Format EA Billing Usage Csv for Tags
- Export All Azure Automation Account Runbooks and Variables
- Export All OMS Log Analytics Saved Searches
- Check Azure Site Recovery (ASR) Prerequisite Services
- Set Azure Site Recovery (ASR) Prerequisite Services
- Updating a Custom RBAC Role in Azure
- Azure Automation - Runbook for ASR Recovery Plan
- Azure Automation - Get VM Information from ASR Recovery Plan Context
- Azure Automation - Sending Email Notification
- Azure Automation - Get VM Information from actual Azure Virtual Machine
- Azure Automation - Check VM Availability
- Apply Locks on Various Azure Resources
- Check for Pending Reboots on various VMs in your environment
- Apply RBAC Role to Users on Resources
- Getting Azure Resource Reports
- Generate Azure Resources Report by Tags v3.0
- Set Tags on Azure Resources
- Creating Multiple Resource Groups with RBAC Role Assignment
- Checking if the Prompt for current script is Elevated or not
- VM Operations - Setting up the VM Backup
- VM Operations - Convert VM to Managed Disk VM
- VM Operations - Change Azure VM Size
- VM Operations - Apply HUB Licensing to Existing VMs
- VM Operations - Export VM Configurations
- VM Operations - Working with VM Snapshots and moving the Managed VMs across subscriptions and regions
- Removing Locks from Azure Resources
- Generate Report for Route Tables with associated Subnets and related information
- Disassociate and Associate Subnets to Route Tables
- Get Subnets Report