Avatar of janhoedt
janhoedt
 asked on

Powershell: new remoteapp. A Remote Desktop Services deployment does not exist

Hi,

I'm trying to create a new remoteapp via powershell remotely.
Tried via invoke-command, via enter-pssession, via new-pssesion but I always get the error:

A Remote Desktop Services deployment does not exist on activerdsbroker01. This operation can be performed after creating a deployment. For information about creating a deployment, run "Get-Help New-RDVirtualDesktopDeployment" or "Get-Help
 New-RDSessionDeployment". (raised by: Write-Error)

Googled but didn't find any answer, please advivse.
Note that we have two RDS brokers, but I AM connecting to the correct one.

J.
PowershellWindows Server 2012Desktops

Avatar of undefined
Last Comment
janhoedt

8/22/2022 - Mon
Robert

Make sure your firewall and/or security software is not blocking the connection. Additionally you would need rights to install role on remote system.
Here is a TechNet on the error your receiving.
https://social.technet.microsoft.com/Forums/windows/en-US/af8d3d37-7474-4b6e-b5f7-f941d209ffad/a-remote-desktop-services-deployment-does-not-exist-on-server?forum=winserverTS
ASKER CERTIFIED SOLUTION
janhoedt

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
janhoedt

ASKER
No firewall issue, error you get is misleading since Powershell is working fine when using correct and full syntax.
Your help has saved me hundreds of hours of internet surfing.
fblack61