Connecting to remote desktop using Psexec Tool works with Powershell or Cmd but it doesnt work in PowerShell...

How do I repair my stair bannister?

Why has "pence" been used in this sentence, not "pences"?

Does having a TSA Pre-Check member in your flight reservation increase the chances that everyone gets Pre-Check?

What does the Rambam mean when he says that the planets have souls?

Is there a conventional notation or name for the slip angle?

Greco-Roman egalitarianism

How to align and center standalone amsmath equations?

On a tidally locked planet, would time be quantized?

Can I use my Chinese passport to enter China after I acquired another citizenship?

Some numbers are more equivalent than others

Does the Mind Blank spell prevent the target from being frightened?

Aligning individual characters/glyphs like a monospace font

Find last 3 digits of this monster number

Is it improper etiquette to ask your opponent what his/her rating is before the game?

How do I extrude a face to a single vertex

How do I implement a file system driver driver in Linux?

Can the Supreme Court overturn an impeachment?

Freedom of speech and where it applies

Greatest common substring

How to color a curve

Are all species of CANNA edible?

Will adding a BY-SA image to a blog post make the entire post BY-SA?

Proving a function is onto where f(x)=|x|.

Can a significant change in incentives void an employment contract?



Connecting to remote desktop using Psexec Tool works with Powershell or Cmd but it doesnt work in PowerShell ISE


Connecting to a computer using Remote Desktop does not work first timeCan't connect to remote desktop via Cisco VPN using wireless connection, works with wiredWhy does Remote Desktop Connection for mac work on ethernet, but not wifi?PsExec to open a program that interacts via the Desktop and reports messages to CMDHow can I tell if my batch file is running?Connecting to Win 10 computer via Remote Desktop only works after 4 tries, any fixes?Laptop can remote desktop with desktop PC, but not vice versa. PC can't even ping laptopIs my PowerShell execution environment subtly corrupted?How to pipe input to Wireshark in Windows Power Shell?SSH & Windows 10: Connection Works With Powershell and Git Bash But Not With Other Tools













0















I use this command psexec \ip_address -u user_name -p psw cmd
to connect to remote desktop to run commands, it works when you use this in Power shell or command prompt but it doesn't work in Power shell ISE.
I wont get any error in ISE but once the execution starts it never ends until you stop it.



Once the execution starts it never ends and doesn't connect to remote desktop, you wont get error either but it works perfectly on PowerShell or CMD.



Check this picture










share|improve this question









New contributor




Vinodh Gowda is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I use this command psexec \ip_address -u user_name -p psw cmd
    to connect to remote desktop to run commands, it works when you use this in Power shell or command prompt but it doesn't work in Power shell ISE.
    I wont get any error in ISE but once the execution starts it never ends until you stop it.



    Once the execution starts it never ends and doesn't connect to remote desktop, you wont get error either but it works perfectly on PowerShell or CMD.



    Check this picture










    share|improve this question









    New contributor




    Vinodh Gowda is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I use this command psexec \ip_address -u user_name -p psw cmd
      to connect to remote desktop to run commands, it works when you use this in Power shell or command prompt but it doesn't work in Power shell ISE.
      I wont get any error in ISE but once the execution starts it never ends until you stop it.



      Once the execution starts it never ends and doesn't connect to remote desktop, you wont get error either but it works perfectly on PowerShell or CMD.



      Check this picture










      share|improve this question









      New contributor




      Vinodh Gowda is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I use this command psexec \ip_address -u user_name -p psw cmd
      to connect to remote desktop to run commands, it works when you use this in Power shell or command prompt but it doesn't work in Power shell ISE.
      I wont get any error in ISE but once the execution starts it never ends until you stop it.



      Once the execution starts it never ends and doesn't connect to remote desktop, you wont get error either but it works perfectly on PowerShell or CMD.



      Check this picture







      windows command-line remote-desktop powershell powershell-ise






      share|improve this question









      New contributor




      Vinodh Gowda is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Vinodh Gowda is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 3 mins ago









      Biswapriyo

      3,32641344




      3,32641344






      New contributor




      Vinodh Gowda is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 10 mins ago









      Vinodh GowdaVinodh Gowda

      84




      84




      New contributor




      Vinodh Gowda is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Vinodh Gowda is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Vinodh Gowda is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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
          });


          }
          });






          Vinodh Gowda is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1417105%2fconnecting-to-remote-desktop-using-psexec-tool-works-with-powershell-or-cmd-but%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Vinodh Gowda is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Vinodh Gowda is a new contributor. Be nice, and check out our Code of Conduct.













          Vinodh Gowda is a new contributor. Be nice, and check out our Code of Conduct.












          Vinodh Gowda is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1417105%2fconnecting-to-remote-desktop-using-psexec-tool-works-with-powershell-or-cmd-but%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







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

          looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...