Running New-RDSSessionDeployment RemotelyHow to read cell data in excel and output to command promptExecuting a git command using remote powershell results in a NativeCommmandErrorRDS installation failure on 2012 R2 Server Core VM in Hyper-V ServerWindows 2012 R2 RDS - can't change Connection Broker DNS round robin name via PowershellAzure VM - can't connect after ipconfig /releaseWhy is the Set-ClientAccessServer cmdlet throwing a DataValidationExceptionICACLS in powershell script 50% workingSysWOW64 access denied (Windows Server 2012 Standard)When trying to Create a New Azure Key Vault using Azure Active Directory Module for Windows Powershell, it always failedhow do I recover the Azure powershell context, right after creating a new VM, in a new powershell?

Multi tool use
Multi tool use

Given 0s on Assignments with suspected and dismissed cheating?

Why is vowel phonology represented in a trapezoid instead of a square?

Have there been any examples of re-usable rockets in the past?

How can we delete item permanently without storing in Recycle Bin?

What are the effects of eating many berries from the Goodberry spell per day?

Why would company (decision makers) wait for someone to retire, rather than lay them off, when their role is no longer needed?

Would life always name the light from their sun "white"

Why does Taylor’s series “work”?

How to deal with the extreme reverberation in big cathedrals when playing the pipe organs?

multiline equation inside a matrix that is a part of multiline equation

How can I safely determine the output voltage and current of a transformer?

What kind of environment would favor hermaphroditism in a sentient species over regular, old sexes?

What do astronauts do with their trash on the ISS?

What is the conversion rate for Sorcery Points to Spell Points?

How does this piece of code determine array size without using sizeof( )?

FIFO data structure in pure C

How could it be that 80% of townspeople were farmers during the Edo period in Japan?

Why is the marginal distribution/marginal probability described as "marginal"?

Promotion comes with unexpected 24/7/365 on-call

Deleting the same lines from a list

Usage of the relative pronoun "dont"

Enqueue Queueable class multiple times

Physically unpleasant work environment

Would it be fair to use 1d30 (instead of rolling 2d20 and taking the higher die) for advantage rolls?



Running New-RDSSessionDeployment Remotely


How to read cell data in excel and output to command promptExecuting a git command using remote powershell results in a NativeCommmandErrorRDS installation failure on 2012 R2 Server Core VM in Hyper-V ServerWindows 2012 R2 RDS - can't change Connection Broker DNS round robin name via PowershellAzure VM - can't connect after ipconfig /releaseWhy is the Set-ClientAccessServer cmdlet throwing a DataValidationExceptionICACLS in powershell script 50% workingSysWOW64 access denied (Windows Server 2012 Standard)When trying to Create a New Azure Key Vault using Azure Active Directory Module for Windows Powershell, it always failedhow do I recover the Azure powershell context, right after creating a new VM, in a new powershell?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








3















I'm trying to script the setup of a remote desktop deployment into Azure. I'm using Powershell remoting to connect to the WinRM endpoint on the VM's and execute remote Powershell. For the most part this works fine and has allowed me to configure teh servers, install applicaitons etc.



However, when I come to actually install the Remote desktop components using the New-RDSessionDeployment command I run into problems. There are 2 servers in this deployment:



  • RD-GTW, that will host the remote desktop gateway and web access services

  • RD-RDS, that will host a session host and connection broker

I am running the New-RDSessionDeployment command against the RD-GTW server (using invoke-command) as follows



New-RDSessionDeployment -ConnectionBroker RD-RDS.domain.local -WebAccessServer RD-GTW.domain.local -SessionHost RD-RDS.domain.local


This then comes back with an error:



Validation failed for the "RD Connection Broker" parameter.
RD-RDS1.domain.local Unable to connect to the server by using Windows PowerShell remoting. Verify that you
can connect to the server.
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RDSessionDeployment
+ PSComputerName : ServiceName-svc1.cloudapp.net


Now what I believe is happening here is a problem with the fact that New-RDSessionDeployment its self makes a remote powershell connection that that server, so I have a remote connection making a remote connection, and so see a double hop issue. I have tried setting up CREDSSP authentication to allow for a double hope of credentials between the two, however I don't seem to be able to get this configuration working, as I am running the scripts from a desktop (on my corporate domain) and connecting to servers in Azure, so I think I am missing an SPN or similar, but not sure where.



Any suggestions on whether my assumptions are correct, and what to do about the issue are appreciated.










share|improve this question




























    3















    I'm trying to script the setup of a remote desktop deployment into Azure. I'm using Powershell remoting to connect to the WinRM endpoint on the VM's and execute remote Powershell. For the most part this works fine and has allowed me to configure teh servers, install applicaitons etc.



    However, when I come to actually install the Remote desktop components using the New-RDSessionDeployment command I run into problems. There are 2 servers in this deployment:



    • RD-GTW, that will host the remote desktop gateway and web access services

    • RD-RDS, that will host a session host and connection broker

    I am running the New-RDSessionDeployment command against the RD-GTW server (using invoke-command) as follows



    New-RDSessionDeployment -ConnectionBroker RD-RDS.domain.local -WebAccessServer RD-GTW.domain.local -SessionHost RD-RDS.domain.local


    This then comes back with an error:



    Validation failed for the "RD Connection Broker" parameter.
    RD-RDS1.domain.local Unable to connect to the server by using Windows PowerShell remoting. Verify that you
    can connect to the server.
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RDSessionDeployment
    + PSComputerName : ServiceName-svc1.cloudapp.net


    Now what I believe is happening here is a problem with the fact that New-RDSessionDeployment its self makes a remote powershell connection that that server, so I have a remote connection making a remote connection, and so see a double hop issue. I have tried setting up CREDSSP authentication to allow for a double hope of credentials between the two, however I don't seem to be able to get this configuration working, as I am running the scripts from a desktop (on my corporate domain) and connecting to servers in Azure, so I think I am missing an SPN or similar, but not sure where.



    Any suggestions on whether my assumptions are correct, and what to do about the issue are appreciated.










    share|improve this question
























      3












      3








      3


      0






      I'm trying to script the setup of a remote desktop deployment into Azure. I'm using Powershell remoting to connect to the WinRM endpoint on the VM's and execute remote Powershell. For the most part this works fine and has allowed me to configure teh servers, install applicaitons etc.



      However, when I come to actually install the Remote desktop components using the New-RDSessionDeployment command I run into problems. There are 2 servers in this deployment:



      • RD-GTW, that will host the remote desktop gateway and web access services

      • RD-RDS, that will host a session host and connection broker

      I am running the New-RDSessionDeployment command against the RD-GTW server (using invoke-command) as follows



      New-RDSessionDeployment -ConnectionBroker RD-RDS.domain.local -WebAccessServer RD-GTW.domain.local -SessionHost RD-RDS.domain.local


      This then comes back with an error:



      Validation failed for the "RD Connection Broker" parameter.
      RD-RDS1.domain.local Unable to connect to the server by using Windows PowerShell remoting. Verify that you
      can connect to the server.
      + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RDSessionDeployment
      + PSComputerName : ServiceName-svc1.cloudapp.net


      Now what I believe is happening here is a problem with the fact that New-RDSessionDeployment its self makes a remote powershell connection that that server, so I have a remote connection making a remote connection, and so see a double hop issue. I have tried setting up CREDSSP authentication to allow for a double hope of credentials between the two, however I don't seem to be able to get this configuration working, as I am running the scripts from a desktop (on my corporate domain) and connecting to servers in Azure, so I think I am missing an SPN or similar, but not sure where.



      Any suggestions on whether my assumptions are correct, and what to do about the issue are appreciated.










      share|improve this question














      I'm trying to script the setup of a remote desktop deployment into Azure. I'm using Powershell remoting to connect to the WinRM endpoint on the VM's and execute remote Powershell. For the most part this works fine and has allowed me to configure teh servers, install applicaitons etc.



      However, when I come to actually install the Remote desktop components using the New-RDSessionDeployment command I run into problems. There are 2 servers in this deployment:



      • RD-GTW, that will host the remote desktop gateway and web access services

      • RD-RDS, that will host a session host and connection broker

      I am running the New-RDSessionDeployment command against the RD-GTW server (using invoke-command) as follows



      New-RDSessionDeployment -ConnectionBroker RD-RDS.domain.local -WebAccessServer RD-GTW.domain.local -SessionHost RD-RDS.domain.local


      This then comes back with an error:



      Validation failed for the "RD Connection Broker" parameter.
      RD-RDS1.domain.local Unable to connect to the server by using Windows PowerShell remoting. Verify that you
      can connect to the server.
      + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RDSessionDeployment
      + PSComputerName : ServiceName-svc1.cloudapp.net


      Now what I believe is happening here is a problem with the fact that New-RDSessionDeployment its self makes a remote powershell connection that that server, so I have a remote connection making a remote connection, and so see a double hop issue. I have tried setting up CREDSSP authentication to allow for a double hope of credentials between the two, however I don't seem to be able to get this configuration working, as I am running the scripts from a desktop (on my corporate domain) and connecting to servers in Azure, so I think I am missing an SPN or similar, but not sure where.



      Any suggestions on whether my assumptions are correct, and what to do about the issue are appreciated.







      powershell remote-desktop azure






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 14 '14 at 14:19









      Sam CoganSam Cogan

      32k568109




      32k568109




















          1 Answer
          1






          active

          oldest

          votes


















          0














          you neet to run Enable-PSRemoting as power-shell command
          and answer yes to every question






          share|improve this answer























          • If you read the original post they are well past the need to simply enable PSRemoting, see "I'm using powershell remoting...the most part this works ...allowed me to configure servers"

            – Patrick
            Oct 6 '15 at 10:26











          • yes, I know, I had same problem - remoting enabled in azure VM and it didn't work, this step fixed it - give it try

            – David B.
            Oct 6 '15 at 13:34












          • This worked for me using the -force command. However I think there was also an issue running this locally on one of my servers. The host name kept resolving to IPv6. I fixed this by running it on a different host.

            – Nixphoe
            Nov 10 '17 at 15:23











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f588882%2frunning-new-rdssessiondeployment-remotely%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          you neet to run Enable-PSRemoting as power-shell command
          and answer yes to every question






          share|improve this answer























          • If you read the original post they are well past the need to simply enable PSRemoting, see "I'm using powershell remoting...the most part this works ...allowed me to configure servers"

            – Patrick
            Oct 6 '15 at 10:26











          • yes, I know, I had same problem - remoting enabled in azure VM and it didn't work, this step fixed it - give it try

            – David B.
            Oct 6 '15 at 13:34












          • This worked for me using the -force command. However I think there was also an issue running this locally on one of my servers. The host name kept resolving to IPv6. I fixed this by running it on a different host.

            – Nixphoe
            Nov 10 '17 at 15:23















          0














          you neet to run Enable-PSRemoting as power-shell command
          and answer yes to every question






          share|improve this answer























          • If you read the original post they are well past the need to simply enable PSRemoting, see "I'm using powershell remoting...the most part this works ...allowed me to configure servers"

            – Patrick
            Oct 6 '15 at 10:26











          • yes, I know, I had same problem - remoting enabled in azure VM and it didn't work, this step fixed it - give it try

            – David B.
            Oct 6 '15 at 13:34












          • This worked for me using the -force command. However I think there was also an issue running this locally on one of my servers. The host name kept resolving to IPv6. I fixed this by running it on a different host.

            – Nixphoe
            Nov 10 '17 at 15:23













          0












          0








          0







          you neet to run Enable-PSRemoting as power-shell command
          and answer yes to every question






          share|improve this answer













          you neet to run Enable-PSRemoting as power-shell command
          and answer yes to every question







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 5 '15 at 11:07









          David B.David B.

          111




          111












          • If you read the original post they are well past the need to simply enable PSRemoting, see "I'm using powershell remoting...the most part this works ...allowed me to configure servers"

            – Patrick
            Oct 6 '15 at 10:26











          • yes, I know, I had same problem - remoting enabled in azure VM and it didn't work, this step fixed it - give it try

            – David B.
            Oct 6 '15 at 13:34












          • This worked for me using the -force command. However I think there was also an issue running this locally on one of my servers. The host name kept resolving to IPv6. I fixed this by running it on a different host.

            – Nixphoe
            Nov 10 '17 at 15:23

















          • If you read the original post they are well past the need to simply enable PSRemoting, see "I'm using powershell remoting...the most part this works ...allowed me to configure servers"

            – Patrick
            Oct 6 '15 at 10:26











          • yes, I know, I had same problem - remoting enabled in azure VM and it didn't work, this step fixed it - give it try

            – David B.
            Oct 6 '15 at 13:34












          • This worked for me using the -force command. However I think there was also an issue running this locally on one of my servers. The host name kept resolving to IPv6. I fixed this by running it on a different host.

            – Nixphoe
            Nov 10 '17 at 15:23
















          If you read the original post they are well past the need to simply enable PSRemoting, see "I'm using powershell remoting...the most part this works ...allowed me to configure servers"

          – Patrick
          Oct 6 '15 at 10:26





          If you read the original post they are well past the need to simply enable PSRemoting, see "I'm using powershell remoting...the most part this works ...allowed me to configure servers"

          – Patrick
          Oct 6 '15 at 10:26













          yes, I know, I had same problem - remoting enabled in azure VM and it didn't work, this step fixed it - give it try

          – David B.
          Oct 6 '15 at 13:34






          yes, I know, I had same problem - remoting enabled in azure VM and it didn't work, this step fixed it - give it try

          – David B.
          Oct 6 '15 at 13:34














          This worked for me using the -force command. However I think there was also an issue running this locally on one of my servers. The host name kept resolving to IPv6. I fixed this by running it on a different host.

          – Nixphoe
          Nov 10 '17 at 15:23





          This worked for me using the -force command. However I think there was also an issue running this locally on one of my servers. The host name kept resolving to IPv6. I fixed this by running it on a different host.

          – Nixphoe
          Nov 10 '17 at 15:23

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f588882%2frunning-new-rdssessiondeployment-remotely%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          xA hdN7
          w9BoiNgboUmiOYGJk8hRBkIV2i,IMA

          Popular posts from this blog

          RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

          Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

          Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020