My previous blog post on scheduling DevTest Labs showed how you could use a paramater to fill the webhook URL for Auto-Shutdown notifications. Since that blog post, you can now use an email address instead of a webhook.

Shutdown Notifications

To add an email notification to your DevTest Lab, you need to change the property value of webHookUrl to NULL and add the emailRecipient property with the desired value.

You can find the completed script in my GitHub repo: