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

Using Set-RDCertificate with the -Thumbprint parameter fails as "A parameter cannot be found that matches parameter name 'Thumbprint'"

$
0
0

Hi all,

When setting up the RDS role on a 2016 server, I want to be able to assign certificates using Powershell. According to https://docs.microsoft.com/en-us/powershell/module/remotedesktop/set-rdcertificate?view=win10-ps, you should be able to use 'Set-RDCertificate' with the '-Thumbprint' paramater, however attempting to do so results in a error:

PS C:\Users\administrator.PEXIP\Desktop> Set-RDCertificate -Role RDRedirector -Thumbprint xxxxxxx
Set-RDCertificate : A parameter cannot be found that matches parameter name 'Thumbprint'.
At line:1 char:38+ Set-RDCertificate -Role RDRedirector -Thumbprint xxxxxxxx...+                                      ~~~~~~~~~~~+ CategoryInfo          : InvalidArgument: (:) [Set-RDCertificate], ParameterBindingException+ FullyQualifiedErrorId : NamedParameterNotFound,Set-RDCertificate

I suspect this is a bug, but I wonder if there is any other way of doing this?


Chris



Viewing all articles
Browse latest Browse all 1106

Trending Articles



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