CmdID / PowerShell / Cmdlets / Enable
Enable-WmsVirtualDesktopRole
Installs the Hyper-V virtual desktop role and customizes it for use with MultiPoint services. 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.