CmdID / PowerShell / Cmdlets / New
New-WmsVirtualDesktop
Creates a virtual desktop. Windows Server PowerShell reference
From the Windows Server PowerShell reference 8 parameters Its page in the reference
Parameters
-AllIndicates that this operation creates a virtual desktop for all stations.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DomainSpecifies the name of the Active Directory domain to contain the virtual desktop.-InputFilePathSpecifies the full path of the input file to use for the virtual desktop template.-StationIdSpecifies an array of station IDs for which to create a virtual desktop.-TemplatePrefixSpecifies the prefix to use for the name of the virtual machine template.-VhdLocationSpecifies the path to store the template and station .vhd files.-WhatIf, -wiShows what would happen if the cmdlet runs.