Select Page
Image of PSScriptAnalyzer linting in VSCode with green squigglies

Using PSScriptAnalyzer to check PowerShell version compatibility

PSScriptAnalyzer version 1.18 was released recently, and ships with powerful new rules that can check PowerShell scripts for incompatibilities with other PowerShell versions and environments. In this blog post, the first in a series, we’ll see how to use these ... continue reading
PowerShellExample

The PowerShell Extension is now in the Azure Data Studio Marketplace

We are excited to announce the PowerShell Extension is available in the Azure Data Studio (ADS) marketplace! Now you can write PowerShell scripts with the full benefits of PowerShell Editor Services using the excellent IDE-like interface that Azure Data Studio ... continue reading
Generating PowerShell Cmdlets from OpenAPI/Swagger with AutoRest

Generating PowerShell Cmdlets from OpenAPI/Swagger with AutoRest

Today, we’re announcing beta support for PowerShell in AutoRest, so that you can now generate PowerShell modules from Swagger/OpenAPI JSON documents. AutoRest is the SDK generation tool that we use in Azure to produce SDKS for 90+ management services across ... continue reading
PowerShell Basics: Don't Fear Hitting Enter with -WhatIf

PowerShell Basics: Don’t Fear Hitting Enter with -WhatIf

Chances are you've run into this situation. You've built a script, or a one-liner, to perform a specific task, but you don't have a way to thoroughly test it without hitting Enter. That moment before hitting enter can be difficult ... continue reading
🙂

Parsing Text with PowerShell (3/3)

This is the third and final post in a three-part series. Parsing Text with PowerShell Part 1 Useful methods on the String class Introduction to Regular Expressions The Select-String cmdlet Parsing Text with PowerShell Part 2 the -split operator the ... continue reading
🙂

Parsing Text with PowerShell (2/3)

This is the second post in a three-part series. Parsing Text with PowerShell Part 1 Useful methods on the String class Introduction to Regular Expressions The Select-String cmdlet Parsing Text with PowerShell Part 2 the -split operator the -match operator ... continue reading

The PowerShell-Docs repositories have been moved

The PowerShell-Docs repositories have been moved from the PowerShell organization to the MicrosoftDocs organization in GitHub. The tools we use to build the documentation are designed to work in the MicrosoftDocs org. Moving the repository lets us build the foundation ... continue reading

The PowerShell-Docs repositories have been moved

The PowerShell-Docs repositories have been moved from the PowerShell organization to the MicrosoftDocs organization in GitHub. The tools we use to build the documentation are designed to work in the MicrosoftDocs org. Moving the repository lets us build the foundation ... continue reading
Announcing the PowerShell Preview Extension in VSCode

Announcing the PowerShell Preview Extension in VSCode

Preview builds of the PowerShell extension are now available in VSCode We are excited to announce the PowerShell Preview extension in the VSCode marketplace! The PowerShell Preview extension allows users on Windows PowerShell 5.1, Powershell 6.0, and all newer versions ... continue reading

Parsing Text with PowerShell (1/3)

This is the first post in a three part series. Parsing Text with PowerShell Part 1 Useful methods on the String class Introduction to Regular Expressions The Select-String cmdlet Parsing Text with PowerShell Part 2 The -split operator The -match ... continue reading