clean up old windows virtual desktop enviroment?

Regular Contributor



I played two years ago with windows virtual desktop.


How can I clean up my enviroment? So I can restart with windows virtual desktop?

It is just for testing and learning.




1 Reply
best response confirmed by Stefan Kießig (Regular Contributor)
You will need to do this with PowerShell. I don't recall the commands on the top of my head but you will need to use the RDS commandlets (part of the WindowsVirtualDesktopPowershell module) to work your way backward deleting everything.

First login with Add-RdsAccount -DeploymentUrl '' and then go (with the correct parameters of course!)
Remove-RDSSessionhost => Remove-RDSAppGroup => Remove-RDSHostpool and Remove-RDSTenant