Automatically increase your Azure Files Storage share quota using Function App. This script and similar instructions are provided by Microsoft but I have included some addition information to make it…
Check if Azure Storage Account Keys are Older Than 180 Days
This GitHub Action Workflow can be used to check if Azure Storage Account Keys have been rotated within the last 180 days and scheduled to run automatically. You can add…
Compare and Delete AD Computer Accounts
This script deletes old computer accounts if the Azure virtual machine was deleted. Current script is triggered by Azure Automation webhook and uses Azure Automation credential with a Hybrid Worker.
Install NVIDIA Drivers and Set Registry Keys
This script can be used with Azure Automation Runbook and a webhook to trigger the install and configuration. You can also remove modify the script to fit your needs. If…
Check for Failed Azure Extensions and Remove
This script will check your VMs for a specific failed extensions/CSE and remove them if the virtual machine is running.
Check Azure Compute Quota with Scheduled GitHub Action
Here’s how you can check your Azure compute quota with a scheduled GitHub Action workflow. This runs on a schedule but can also be run manually on a specific subscription.
Find and Delete all Orphaned Azure NICs and
Here’s a script that will find all the Azure Network interfaces that are orphaned/Unattached and remove them.
Send AVD Host Pool Session Load Info to Teams
Used for all Multi-Session Host Pools then the script gets Active Sessions, Disconnected Sessions, Session Host Count, Maximum Session Limit, Total Sessions and Session Usage Percentage which is based on…
Set Azure VM License Type Windows_Client
This script will help update licenses on all your Azure VMs, output to csv and has the option to exclude specific virtual machine names. For my VMS I needed to…
Delete Azure Virtual Machines Including NIC and Disk with PowerShell
Unassign Users from Personal Azure Virtual Desktop
Open PowerShell and modify the SubscriptionID, ResourceGroupName, HostPoolName and SessionHostName. This script will remove the currently assigned user.
Get the Total Number of Active Sessions in a Host Pool (Azure Virtual Desktop)
Here’s a quick PowerShell script to get the total number of active sessions in a Azure Virtual Desktop host pool.
Automatically Change Unattached Disks to Standard HDD
I usually use FunctionApp function with a timer to run maintenance type of scripts but this script can also be used manually. This can be helpful if you still need…
Configure Windows 10 AVD Multi-Session Intune Automatic Enrollment
To configure automatic enrollment of your AVD Windows 10 Multi-Session hosts you will need to enable the “Enable automatic MDM enrollment using default Azure AD credentials” policy setting in either…