PowerShell SnippetRace 05/06-22

Emojies, PSReadline,GetRandomFileName(), $PSStyle

Events and Workshops

  • February 15th, 2022 – Azure Monitoring – Hybrid Expertslive Cafe in Linz
  • March 2nd, 2022 – PowerShell Fundamentals – Online via Teams ! – NEW DATE
  • April 25-29 2022 – PowerShell+DevOps Global Summit powershell.org
  • June 20-23 2022 – European PowerShell Conference in VIENNA psconf.eu
  • June 29th 2022 – Expertslive Konferenz www.expertslive.at

Snippets

Emojies in PowerShell

This is maybe not the most important thing in the world, but working should also be fun and therefore ==> use more emojiieess !!!

Patrick Grünauer wrote a little blog about it.

PSReadline 2.2 RC1

PSReadline is one of those tools running in the background, doing its job and we all use it every day. Version 2.2 with prediction is getting intp its next phase with Release 2.2 RC1. Read Jason Helmicks note on the changes.

A useful script, a suden performance degrade and a funny description

Przemyslaw Klys from Evotec in Poland wrote a great blog about a really useful case (Sending E-Mails for passwort reset) and why the performance suddenly degraded. You will also lear something about GetRandomFileName() and GetTempFileName().

Live with more $PSStyle !

Since PowerShell 7.2 there is the $PSStyle variable. Are you usig it ever since ? If not, read Jeffrey Hicks Blog why you should.

I hope there where some useful snippets in for you !

Until next week – R.

Photo by Mike Dorner on Unsplash