Select Page
PowerTip: Turn off the power to your computer with PowerShell

PowerTip: Turn off the power to your computer with PowerShell

Summary: A simple way to power off your computer by using the Windows PowerShell cmdlets. Hey, Scripting Guy! I’ve got a script that needs to power off a system after it’s done. How can I accomplish this with PowerShell? Look ... continue reading

Parse HTML and pass to Cognitive Services Text-to-Speech

Summary: Having some fun with Abbott and Costello’s “Who’s on first?” comedy routine, and multiple voices with Bing Speech. ------------------------------- Hello everyone! The last few posts, I showed you all about the Cognitive Services Text-to-Speech API. You learned about the ... continue reading
PowerTip: Determine your version of PowerShell and host operating system

PowerTip: Determine your version of PowerShell and host operating system

Summary: Identify your PowerShell environment by making use of built-in PowerShell variables. Hey, Scripting Guy! If I’m writing a script, how can I detect if I am running on Windows, Linux, or Mac with PowerShell? Just use the built-in variable ... continue reading

Windows PowerShell and the Text-to-Speech REST API (Part 5)

Summary: Send and receive content to the Text-to-Speech API with PowerShell. Q: Hey, Scripting Guy! Could you give a buddy a hand in getting the last pieces together for the Text-to-Speech API? —SR A: Hello SR, No problem at all ... continue reading
PowerTip: Use PowerShell to play WAV files

PowerTip: Use PowerShell to play WAV files

Summary: Make use of the native features of Windows through PowerShell to play sound. Hey, Scripting Guy! I’ve got some WAV files I would love to play without launching an application. Is there a way in Windows PowerShell to do ... continue reading
Screenshot of Bing Speech

Windows PowerShell and the Text-to-Speech REST API (Part 4)

Summary: Send and receive content to the Text-to-Speech API with PowerShell. Q: Hey, Scripting Guy! I was playing with the Text-to-Speech API. I have it almost figured out, but I’m stumbling over the final steps of formatting the SSML markup ... continue reading
PowerTip: Ensure that errors in PowerShell are caught

PowerTip: Ensure that errors in PowerShell are caught

Summary: Here’s how to make sure your errors get caught with Try Catch Finally. Hey, Scripting Guy! I’ve been trying to use the Try Catch Finally, but some of my errors aren’t getting caught. What could be the cause? For ... continue reading
HTTP headers table

Windows PowerShell and the Text-to-Speech REST API (Part 3)

Summary: Use Windows PowerShell to access the Cognitive Services Text-to-Speech API. Q: Hey, Scripting Guy! I was reading up on how we could use PowerShell to communicate with Azure to gain an access token. I’ve been just itching to see ... continue reading

Run PowerShell code in Puppet

Summary: Hi everyone, Dan Franciscus here. I’m a systems engineer and freelance technical writer based out of New Jersey. My expertise is in Windows Server, PowerShell, VMware, and Puppet. Puppet is an infrastructure platform that helps automate your environment. While ... continue reading
PowerTip: Get all your local certificates by using PowerShell

PowerTip: Get all your local certificates by using PowerShell

How can I use Windows PowerShell to enumerate all certificates on my Windows computer? If you have Windows 7 or later, you can user the Get-ChildItem cmdlet to enumerate all certificates on a local system. For example: ... continue reading