Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Alright, ladies and gents. What’s the laziest you’ve ever been using PowerShell?

$
0
0

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.


Viewing all articles
Browse latest Browse all 8793

Trending Articles