-1

Could anyone please provide a C# code sample showing how to prompt for user input in a custom PowerShell Cmdlet?

I find plenty of articles on how to pass parameters to a Cmdlet, but little to none on how to prompt for user input during runtime.

Thank you!

Bjørn H. Sandvik
  • 533
  • 4
  • 10
  • 22

1 Answers1

1

I would start here: MSDN ReadHostCommand Documentation

Espen
  • 2,456
  • 1
  • 16
  • 25