PowerShell SnippetRace 03/04-2023

VS-Code, RegEx, PowerShellGet, Module

Events

  • PowerShell and DevOps Summit. April 24-27, 2023. Link
  • Expertslive Cafe „Azure hybrid“. 8. Februar 2023 Link
  • PowerShell Usergroup Meeting Q1/23 „Exchange Online and PowerShell“ (TBD)
  • Expertslive Konferenz June 21, 2023 Linz.

Snippets

PowerShell Extension for Visual Studio Code January 2023 Update

The PowerShell team (Sidney Smith) posted news about the January Release of the PowerShell Extension. Read ths blog to stay up-to-date on its capabilities.

RegEx and VS-Code

I dont know how often you use it, but i try to avoid it whenever i can. RegEx is a powerfull and also terrible technology. Sometimes it makes a lot of sense, so if you need to use it, read this article to understand how VS-Code uses RegEx.

PowerShellGet 3.0.18-preview18

A hopefulls sometimes-ending-story continues. PowerShellGet 3.0.18 is available as preview version. It includes Get-PSScriptFileInfo, a CmdLet to test the <#PSScriptInfo #> block. Read this short blog on updates on this project.

Create Module with multiple functions

Moving on from one-liners, to functions is a big step, the masterclass is writing modules. Read Patrick Grünauers blog on the creation of modules with multiple functions.

Have a great start into the week. R.

Foto von Volodymyr Hryshchenko auf Unsplash