PowerShell

Technical articles from Microsoft’s blog about automation using Powershell

Using PowerShell and Twilio API for Efficient Communication in Contact Tracing

Piyush Tripathi The COVID-19 pandemic has underscored the importance of rapid and reliable communication technology. One vital application is in contact tracing efforts, where prompt notifications can make a significant difference. This guide focuses on utilizing PowerShell in conjunction with the Twilio API to establish an automated SMS notification system, an essential communication tool for …

Using PowerShell and Twilio API for Efficient Communication in Contact Tracing Continue Reading

Automate Text Summarization with OpenAI and PowerShell

Automating tasks is the core of PowerShell scripting. Adding artificial intelligence into the mix takes automation to a whole new level. Today, we’ll simplify the process of connecting to OpenAI’s powerful text summarization API from PowerShell. Let’s turn complex AI interaction into a straightforward script. To follow this guide, you’ll need an OpenAI API key. …

Automate Text Summarization with OpenAI and PowerShell Continue Reading

PSResourceGet is generally available

Sydney Smith Microsoft.PowerShell.PSResourceGet is a continuation of the PowerShellGet 3.0 project. The module under this new name is now generally available on the PowerShell Gallery. The documentation for PSResourceGet is also live. How to install the module To install from PSResourceGet (which is included since PowerShell 7.4 Preview 5) Install-PSResource -Name Microsoft.PowerShell.PSResourceGet To install from …

PSResourceGet is generally available Continue Reading

PowerShell Adapter Feedback Provider

PowerShell Adapter Feedback Provider We’ve renamed the JSON Adapter Feedback Provider to PowerShell Adapter Feedback Provider! We heard some good feedback that the name wasn’t as descriptive to what the feedback provider does so we’ve changed it to be more consistent with its functionality. The Microsoft.PowerShell.PSAdapter is a module that identifies scripts and tools on …

PowerShell Adapter Feedback Provider Continue Reading

Use PowerShell to Remediate Non-Compliant Policy Definitions

Introduction Azure Policy enables an organization to enforce standards and assess compliance against regulatory requirements. In general, there are four main Azure Policy objects. A Policy Definition describes the conditions under which it is enforced. This Azure Policy object has no effect until it is assigned. A Policy Set can bundle Policy Definitions that are …

Use PowerShell to Remediate Non-Compliant Policy Definitions Continue Reading

Microsoft.PowerShell.TextUtility module updates

TextUtility module gets new functionality We have recently released another preview of the TextUtility module. This module is a collection of tools that are meant to help with working with text content. Installing the module You can install this module from the PowerShellGallery with PowerShellGet via: Install-Module -Name Microsoft.PowerShell.TextUtility -AllowPrerelease Or you can install it …

Microsoft.PowerShell.TextUtility module updates Continue Reading

JSON Adapter Feedback Provider

JSON Adapter Feedback Provider Release We are excited to announce the first release of our JSON Adapter Feedback Provider! If you are unfamiliar with what feedback providers are, check out this blog describing them, here. Installing JSON Adapter Feedback Provider The release is available from the PowerShell Gallery. Use the following command to install JsonAdapter …

JSON Adapter Feedback Provider Continue Reading

Exploring Configuration Manager Automation Fundamentals – PowerShell Cmdlets

Hello, everyone! Welcome back to our blog series on automation and API capabilities within Microsoft Configuration Manager. In our previous post, we delved into the Windows Management Instrumentation, where we learned about namespaces, classes, properties, and methods. Now, let’s shift our focus to the PowerShell cmdlets. As with our previous post, we will start with …

Exploring Configuration Manager Automation Fundamentals – PowerShell Cmdlets Continue Reading