CmdID / PowerShell / Cmdlets / Disable
Disable-WmsVirtualDesktopRole
Disables a Hyper-V virtual desktop role. Windows Server PowerShell reference
From the Windows Server PowerShell reference 3 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-RestartIndicates that this operation automatically restarts the computer to apply the change.-WhatIf, -wiShows what would happen if the cmdlet runs.