Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 1106

w2012 Remote Desktop Session Deployment not recognized in Powershell

$
0
0

Hello Guys,

In order to solve another problem I'm having, I wish to add a RemoteApp using Powershell. I have created a remote desktop session Deployment using the Server Manager, and adding RemoteApps there works perfectly. However, when I want to use Powershell to add a RemoteApp, it gives me the following error message:

New-RemoteApp : A Remote Desktop Services deployment does not exist on sv-xxx-rds03.xxxx.infra. This operation can be
 performed after creating a deployment. For information about creating a deployment, run "Get-Help Set-VDIDeployment" o
r "Get-Help Set-RDSHDeployment".
At line:1 char:1+ New-RemoteApp+ ~~~~~~~~~~~~~+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RemoteApp

When I want to create a new SessionDeployment I get the following:

New-SessionDeployment : A session-based desktop deployment is already present.
At line:1 char:1+ New-SessionDeployment+ ~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-SessionDeployment

Anyone any idea how I can make my server recognize the fact that he already has a deployment and that he's a member of that deployment?




Viewing all articles
Browse latest Browse all 1106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>