Quantcast
Channel: Remote Desktop Services (Terminal Services) Forumu
Viewing all articles
Browse latest Browse all 27533

RDS 2012 - Powershell Command Failure

$
0
0

All of my powershell commands against my RDS 2012 VDI deployment are failing except for Get-RDConnectionBrokerHighAvailability with the error message:

PS C:\Users\administrator.JR> Get-RDCertificate
Get-RDCertificate : A Remote Desktop Services deployment does not exist on PRWINVDI-03.jr.local. This operation can be
performed after creating a deployment. For information about creating a deployment, run "Get-Help Set-VDIDeployment"
or "Get-Help Set-RDSHDeployment".
At line:1 char:1
+ Get-RDCertificate
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDCertificate

I have tried powershell with RunAs administrator and that did not work either. In addition, Get-Help Set-VDIDeployment does not exist nor does Set-VDIDeployment.

After some more prodding, it seems like the only way I can get it to work is to specify the individual host name that is the active conn broker machine like this: Get-RDVirtualDesktopCollectionConfiguration -ConnectionBroker prwinvdi-04.jr.local

it should work with the ha dns name like this: Get-RDVirtualDesktopCollectionConfiguration -ConnectionBroker rdcb2012.jr.local

any ideas?


Viewing all articles
Browse latest Browse all 27533

Trending Articles



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