-
Hi Don, Thanks a lot for the prompt response! Yes, I stand corrected on this usage of 'implicit' remoting. Thanks for pointing that out. $s is treated as a PSSession object in the script as 'enter-PSSession' expects this object and not the string as the parameter. As for your last scenario...
Posted to
Ask Don Jones
(Forum)
by
manishjha
on
01-18-2012
Filed under: Parameter, scripts, Passing arguments from batch file to powershell, PS Remoting, new-pssession, WMI, Remote PowerShell
-
I am trying to find out if I can launch powershell from an app that I use to manage the list of systems I connect to over RDP. I can define 'external apps' in the program and there are quite a few available. I specify powershell.exe as the program to launch, then the app has a field for arguments...
Posted to
Ask Don Jones
(Forum)
by
virtuallynothere
on
04-05-2012
Filed under: Parameter, String Manipulation, Passing arguments from batch file to powershell, PS Remoting, Server 2008 R2, new-pssession, Remote PowerShell