PowerTip: Determine your version of PowerShell and host operating system
Identify your PowerShell environment by making use of built-in PowerShell variables.
Breaking news from around the world Get the Bing + MSN extension
A place to learn about PowerShell and share stories of automation
Identify your PowerShell environment by making use of built-in PowerShell variables.
Send and receive content to the Text-to-Speech API with PowerShell.
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 helps,
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.
Make use of the native features of Windows through PowerShell to play sound.