Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerShell PowerTip: Checking your PowerShell version

If there is one question I could say I get the most in PowerShell, it is: How do I check my version? Its not a hard thing, but its not an obvious thing. We can actually check our version with a build in variable called PSVersionTable $psversiontable.PSVersion Major Minor Build Revision ----- ----- ----- -------- 5 1 17134 48 Hope that ...

PowerShell For Programmers: Here Strings, There Strings, Everywhere Some String Strings

There won't be much code in today's post, but this can be a useful feature to know about. In addition to the expandable and literal strings we talked about, we can also use something called a Here String. Here strings allow us to have quote characters inside of our string that match the quote characters we use to create that string. For ...