Showing results for July 2018 - Scripting Blog [archived]

Jul 31, 2018
0
2

Regular Expressions (REGEX): Basic symbols

Kory Thacher
Kory Thacher

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, but later we will expand on these and see some other options we have.  is used to represent any single character,...

PowerShellregular expressionskoryt
Jul 24, 2018
0
1

PowerShell PowerTip: What is the point of Out-Variable?

Kory Thacher
Kory Thacher

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, while still letting it get sent along the output stream. What this means is that you could use it somewh...

PowerTipPowerShellkoryt
Jul 10, 2018
0
0

PowerShell PowerTip: What you should know about streams

Kory Thacher
Kory Thacher

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: What this means for you, as users, is that you can get a non-terminating error, and still ...

PowerTipPowerShellkoryt