Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Deploy a web role with RDP capability

$
0
0

When building a project in VS prior to publishing, I can select to enable RDP. 

Looking at the PS cmdlets, it’s a bit confusing to understand whether I can decide to NOT set these options when packaging the deployment, or if I have to still do this within the packaging.

I’ve created my service (empty) and have uploaded a .pfx file into it from PS.  According to what I read, the next thing I need to do is call:

$secure_string_pwd = convertto-securestring $rdpPassword -asplaintext -force

Enable-AzureServiceProjectRemoteDesktop -Username $rdpUsername -Password $secure_string_pwd

Whenever I execute this though, it complains that it can’t find the .csdef file.  When I put that file in the directory, then it says it can’t find the ServiceConfiguration.cscfg file, when in fact, the file should be named ServiceConfiguration.Cloud.cscfg.

Maybe I’m following the wrong steps and calling the wrong cmdlets.

How would you:

  1. Enable RDP.
  2. Deploy the new service.

STom


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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