PowerShell SnippetRace 06-2021

Dynamic Parameters, Cloud Cheat Sheet, Weather Widget, product news

Events

  • Expertslive Cafe Q1/2020 – Topic „Azure“ will happen March 11, 2021.
    Topics are AzureV-WANm Azure Monitoring and Azure Lab Services

Snippets

Dynamic Parameters

Defining parameters in a Powershell function can get quite complex using parametersets. In many cases dynamic parameters will be the much smarter was. Learn to use dynamic parameters by reading this blog from Jeff Brown.

Patricks Microsoft Cloud connect cheat sheet

Patrick hit the nail again, by summarizing an annoying issue we all dislike. The multiple ways to connect to MS cloud services via Powershell. Thanks Patrick !

PowerShell Weather Widget

Windows Terminal ANSI Powershell Prompt

If you want to see a weather status like the above, read Jeffrey Hicks blog on this great way to display weather conditions on your PowerShell prompt. Important! Works only in Windows Terminal!

News on PowerShell and tools

The PowerShell team has released PS 7.2 preview 3, Windows Terminal is on version 1.5 and version 1.6 with graphical settings is on its way, and VS-Code is on the current release 1.53.2 with the great feature of wrapped tabs and others.

I hope there was some interesting stuff for you this week !

Best regards/Roman

Photo by WrongTog on Unsplash