CmdID / PowerShell / Cmdlets / New
New-RDCertificate
Creates a certificate for an RDS role. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-ConnectionBrokerSpecifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment.-DnsNameSpecifies the Domain Name Service (DNS) name for a computer.-ExportPathSpecifies a full file path for the certificate.-ForceForces the command to run without asking for user confirmation.-PasswordSpecifies a secure string used to help secure the certificate.-RoleSpecifies a certificate type associated with an RDS server role.