Hi everybody!
I’m trying to install RD Session Deployment on a single server using PowerShell, the cmdlet seems simple to use if you are deploying on multiple servers.
New-RDSessionDeployment -ConnectionBroker FQDN -WebAccessServer FQDN -SessionHost FQDN
But because I only want to deploy on a single server, I’m getting the following error:
New-RDSessionDeployment : Validation failed for the "RD Session Host" parameter. FQDN You cannot restart the local server. At line:1 char:1 + New-RDSessionDeployment -ConnectionBroker FQDN -WebAccessSer ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RDSessionDeployment
I guess this makes sense, since I’m installing a feature, which requires the server to reboot.
What’s the best way to do this using PowerShell? –Any advice? :)