I had a task where I have to enter some data. I had a raw list of about 8 strings, and then I had to put them in a format: "[unimportantText1] WordN [unimportantText2]" "[unimportantText3] WordN [unimportantText4]"
for each of the 8 words. Instead of typing out 16 different things, I just make a quick script to take the array of strings, and then print out the formatted strings so I could copy and paste it into what I needed.
What is the laziest you’ve ever been, or the pettiest task you’ve ever solved with PS?
submitted by /u/Sock_Ninja
[link] [comments]
The post Alright, ladies and gents. What’s the laziest you’ve ever been using PowerShell? appeared first on How to Code .NET.