r/PowerShell • • Mar 24 '20

Script Sharing Windows Virtual Desktop - deployment tutorial

If you need to set up WVD (Windows Virtual Desktop) on Azure for your remote workers and want to do it with ease this may help you:

https://www.mczerniawski.pl/azure/wvd-how-to/

This is not another 'demo' tutorial (all global admins), but looks how to do it in real production. You'll be able to set it up, configure basic monitoring and finally clean it up, all with PowerShell

153 Upvotes

21 comments sorted by

View all comments

3

u/biacz Mar 24 '20

ill publish a script soon that can also do shared image gallery WVD deployments across multiple regions/subscriptions including and directly from powershell. took me a while to figure out the necessary ARM templates but yeah. its possible and its pretty cool.

4

u/Arcontar Mar 24 '20

Looking forward into it;) We needed just plain jump hosts, but having custom image will be great ;)

2

u/biacz Mar 24 '20

we have a custom image as well that we brought from on-prem. was quite a journey, i can tell you :D but using shared image galleries that replicate across regions, its AWESOME.

0

u/[deleted] Mar 24 '20

[deleted]

1

u/RemindMeBot Mar 25 '20 edited Mar 25 '20

Defaulted to one day.

I will be messaging you on 2020-03-25 23:46:45 UTC to remind you of this link

1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

2

u/dreadpiratewombat Mar 25 '20

Any reason you didn't use Bastion instead of making jump hosts?

2

u/Arcontar Mar 25 '20

We required something to be able to jump in to on-prem environment . Haven't used bastion before - so used something I knew. No other reason

3

u/biacz Mar 24 '20

good job btw

1

u/biacz Mar 30 '20

hey everyone, promised to publish a script that can do shared image gallery provisioning of wvd host pools across subscriptions. ITS NOT FINAL as i am still in firefighting mode and my coding probably isnt super beautiful but it already does the job for us if we quickly have to deploy and dont want to go through the GUI every time. feel free to use it and make it better :-)

https://github.com/biacz/wvd_deployment

1

u/biacz Mar 30 '20

at the moment it still accesses the nested template from markhooks81 on his repository. trying to combine both arm templates into one right now and get the artifacts off to my azure storage account but yeah. already managing over 1000 desktops in azure is stealing most of my time and didnt figure out the internal cross-charge process yet :p