PowerShell and interactive external programs
- by CC
Hi all
I'm attempting to write a PowerShell script that, among other things, runs two external programs, harvesting the output of one and providing it to the other.
The problem is that the second program is interactive and asks for:
- a password
- an option (1, 2, or 3)
- an option (Y or N)
- output of external program 1
Note also that this is on XP with PowerShell v1 and .net v2.0 (no I can't upgrade)
Any ideas how I would do this?
CC