Automated way to add and remove session hosts to pools

Not applicable

HI All,

I'm looking for an automated way (well, the best way) to add and remove sessions hosts from AVD pools. I was looking at the rest API (which we already us a lot) but don't see any endpoint making this possibe via the rest API. Would there be a way via powershell or ARM maybe to do this ? 
We want to achieve this to do monthly replacement off session hosts (first add 10, then remove the "old 10 for example) and for quickly scaling out. 
Please share your suggestions/solutions if you can... thanks. 

0 Replies