11-05-2017, 11:57 AM
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
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