Welcome back to the RegEx guide. Last post we talked a little bit about the basics of RegEx and its uses. I mentioned the most important thing is to understand the symbols. Today we’ll ease in with some of the basics to get us going,
A lot of times people see others using the common parameter -OutVariable instead of the best practice $var = <value>. This leads to a lot of folks wondering why OutVariable exists.
The real use for OutVariable is to save your data off,
I’ve got a script that needs to power off a system after it’s done. How can I accomplish this with PowerShell?
Having some fun with Abbott and Costello’s “Who’s on first?” comedy routine, and multiple voices with Bing Speech.
PowerShell has a concept called Streams, which are the different places data can go (output, error, verbose, etc). You usually don’t have to worry too much about these streams if you’re just writing simple scripts, but it helps a ton to know:
All streams are separate even if they all appear to be coming to the console for you.