Using Powershell with Eggplant

Hello,

I need to run about 4 cmdlets in Powershell from functional. I am passing variables into the cmdlets without issue. I am having trouble passing the cmdlets line by line into Powershell with something Powershell understands.

If I take the 4 lines with hard coded values and copy/paste into powershell and hit return, I have no issue. If I use Typetext to pass the cmdlets line by line, I get any variety of errors.

Is there a way to send cmdlets from Eggplant in a way Powershell understands?

Thanks!

Hi Bill, I am not quite sure if you want to run the commands on your local Computer or on the SUT. For the local computer you can use the Shell CommandSystem Interaction with SenseTalk | EPF Docs.
If your want to run it on the SUT via VNC/RDP please provide more information on your steps and the errors.

Greetings
Nuck

1 Like

Thanks. I was able to resolve this issue with semicolons at end of line for each commandlet.

1 Like