Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remote Powershell connect
#1
Hi,
how can i build an external application to connect to a remote Windows Server via powershell?

with the powershell command:

Enter-PSSession -computername servername -credential domain\userĀ  you can connect to a remote server

In external Application I try :
Dateiname: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
Arbeitsverzeichnis:

Argumente: Enter-PSSession -Computername %computername% -credential domain\user

and no option

When i Connect to a server i can type my Credentials but then the Powershell windows Closed

Thank you for your help
Reply


Messages In This Thread
Remote Powershell connect - by setixx - 11-05-2017, 11:57 AM
RE: Remote Powershell connect - by DevOma - 11-05-2017, 12:23 PM
RE: Remote Powershell connect - by setixx - 11-05-2017, 01:19 PM
RE: Remote Powershell connect - by DevOma - 11-05-2017, 01:34 PM
RE: Remote Powershell connect - by setixx - 11-05-2017, 04:02 PM
RE: Remote Powershell connect - by DevOma - 12-05-2017, 10:45 AM
RE: Remote Powershell connect - by setixx - 15-05-2017, 05:26 PM
RE: Remote Powershell connect - by DevOma - 16-05-2017, 03:38 PM
RE: Remote Powershell connect - by BadCoder - 19-05-2017, 04:12 PM
RE: Remote Powershell connect - by dvprao - 24-05-2017, 04:58 AM
RE: Remote Powershell connect - by dvprao - 24-05-2017, 05:07 AM
RE: Remote Powershell connect - by kgouldsk - 25-08-2017, 12:38 AM
RE: Remote Powershell connect - by DevOma - 25-08-2017, 08:50 AM
RE: Remote Powershell connect - by kgouldsk - 25-08-2017, 06:35 PM
RE: Remote Powershell connect - by DevOma - 28-08-2017, 09:14 AM
RE: Remote Powershell connect - by mferneau - 18-11-2019, 11:31 PM



Users browsing this thread: 1 Guest(s)