Delete WVD

Frequent Contributor

Hi All

 

we are using windows 10 wvd, i want to delete a wvd, is the below syntax correct

 

Remove-RdsSessionHost -TenantName "MyTenant" -HostPoolName "WVD01" -Name wvd012021@contoso.com

1 Reply

@Rising Flight Are you using the Classic or ARM version of WVD.  The ARM (newer) version of WVD uses the Az.DesktopVirtualization module in PowerShell.  To remove a session host with that module, you would use the Remove-AzWvdSessionHost cmdlet.  However, if you are using the Classic version of WVD then the syntax you provided should work per the documentation.