19

I want to configure winrm in all my clients using a bat file. after running bat file winrm quickconfig command there's a prompt for a yes/no answer. I don't know how to answer "yes" in the batch file.

Skyhawk
  • 14,230
Steve
  • 193
  • 1
  • 1
  • 6

1 Answers1

25

Adding the parameter -quiet to the quickconfig call will suppress the yes/no prompt, and do what you want.

winrm quickconfig -quiet
sysadmin1138
  • 135,853