SOLVED

clean up old windows virtual desktop enviroment?

%3CLINGO-SUB%20id%3D%22lingo-sub-2228649%22%20slang%3D%22en-US%22%3Eclean%20up%20old%20windows%20virtual%20desktop%20enviroment%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2228649%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20played%20two%20years%20ago%20with%20windows%20virtual%20desktop.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20I%20clean%20up%20my%20enviroment%3F%20So%20I%20can%20restart%20with%20windows%20virtual%20desktop%3F%3C%2FP%3E%3CP%3EIt%20is%20just%20for%20testing%20and%20learning.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EStefan%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Contributor

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

Stefan

1 Reply
best response confirmed by Stefan Kießig (Regular Contributor)
Solution
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