Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

How to work with CMD prompt and prompt selections

$
0
0
I have an executable that when ran opens a cmd windows, gives some information, and then prompts for a selection at the prompt as show below:"Would you like to proceed? [Y\N]"I am trying to figure out how best to program the automation of a response of Yes via PowerShell. I have looked at Invoke-Cmd but not getting how I can use this in the way that I need things to work.Any ideas?Thanks!

Viewing all articles
Browse latest Browse all 467

Latest Images

Trending Articles



Latest Images