Forum Discussion

StefanKi's avatar
StefanKi
Iron Contributor
Mar 22, 2021
Solved

clean up old windows virtual desktop enviroment?

Hello,   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.   Regards ...
  • 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 'https://rdbroker.wvd.microsoft.com' and then go (with the correct parameters of course!)
    Remove-RDSSessionhost => Remove-RDSAppGroup => Remove-RDSHostpool and Remove-RDSTenant




Resources