Delete WVD

%3CLINGO-SUB%20id%3D%22lingo-sub-2269745%22%20slang%3D%22en-US%22%3EDelete%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2269745%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewe%20are%20using%20windows%2010%20wvd%2C%20i%20want%20to%20delete%20a%20wvd%2C%20is%20the%20below%20syntax%20correct%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERemove-RdsSessionHost%20-TenantName%20%22MyTenant%22%20-HostPoolName%20%22WVD01%22%20-Name%20wvd012021%40contoso.com%3C%2FP%3E%3C%2FLINGO-BODY%3E
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.