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?
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;
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
add a comment |
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
add a comment |
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
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
powershell remote-desktop azure
asked Apr 14 '14 at 14:19
Sam CoganSam Cogan
32k568109
32k568109
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
you neet to run Enable-PSRemoting
as power-shell command
and answer yes to every question
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
you neet to run Enable-PSRemoting
as power-shell command
and answer yes to every question
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
add a comment |
you neet to run Enable-PSRemoting
as power-shell command
and answer yes to every question
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
add a comment |
you neet to run Enable-PSRemoting
as power-shell command
and answer yes to every question
you neet to run Enable-PSRemoting
as power-shell command
and answer yes to every question
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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