Deploy an Azure NAT-Gateway for Azure Virtual Desktop by PowerShell

Deploying Azure Resources by REST-API
1 minute
YouTube Thumbnail for Azure NAT-Gateway/ Azure Virtual Desktop

I created a PowerShell script to automatically deploy an Azure NAT-Gateway into an Azure Virtual Desktop environment. That’s useful, if you to need one static IP-Address for your AVD machines. I created the script as a submission for the Nerdio Hackathon 2021. My first Hackathon attendance :^).

Update 2021-10-05 - I actually won first place, but apparently not many people participated in the contest. The Nerdio team are a bit disappointed, so they didn’t publish any announcements. Anyway I got a 1000 USD Amazon Gift Card 🤩.

I also created a quick video proof of the script working, which you can check out on YouTube.

Get the script

The script is free to download on GitHub.