#pwsh tip of the day!

User prompts can be an effective input mechanism in your scripts. In PowerShell, you can use Read-Host to capture input. Here's a simple example I wrote to help you grasp the concept: https://gist.github.com/steviecoaster/60cbc0685fdf1c2bdd1e99f24f13b470

Happy scripting!

And check docs for more goodies!

Comments