Forum Discussion
StefanKi
Mar 22, 2021Iron Contributor
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 ...
- Mar 23, 2021You 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
YannickJanssens1986
Mar 23, 2021Brass 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 'https://rdbroker.wvd.microsoft.com' and then go (with the correct parameters of course!)
Remove-RDSSessionhost => Remove-RDSAppGroup => Remove-RDSHostpool and Remove-RDSTenant
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