Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerShell For Programmers: Strings, Quotes and Quirks

Welcome back everyone! This will be a short, but important entry for the guide. The difference between quote characters is something I’m asked about all the time. It is important to understand in PowerShell, but most of the time it probably won’t make a difference. TLDR: If you're just typing a value like "alg" then it doesn't ...

Windows PowerShell and the Azure Text-to-Speech Rest API (Part 1)

Summary: You can use Windows PowerShell to authenticate to the Microsoft Cognitive Services Text-to-Speech component through the Rest API. Q: Hey, Scripting Guy! I heard about the cool Microsoft Cognitive Services, and had heard they have a REST API. Does that mean I can use PowerShell to consume them? Could you show me how to authenticate ...

PowerTip: Use PowerShell to read an RSS feed

Summary: “Hey, Scripting Guy!” shows you how to use Invoke-RestMethod to read a list of entries from an RSS feed. (image)  How can I use Windows PowerShell to see the list of articles from an RSS feed?    (image)   Just use the Invoke-RestMethod and provide the full path to the link to the RSS feed. Here is an example:    Invoke-...