PowerShell SnippetRace 49&50 2021 (X-Mas busy edition)

Module Layout, Explorer Preview, Aliases via AST, News from the engineerin team

Events

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

Snippets

Sorry all, there was no newsletter last week. But this week its even mor interesting stuff ! Read below.

Module Layout

PowerShell Code should – in the best case – always land finally in a module. Modules provide a great frame for automation code with relase-notes, cmdLet-bindings, versioning, easy deployment , … Writing modules may be done in very differnet ways. Read Jeffrey Hicks blogs on Module Layout to learn about best practices!

Preview PowerShell files in Explorer

You may have many PowerShell files on your systems and on the fileserver and elswhere. Viewing those files means to open an aditor and even if its notepad. Now there is also the opportunity to view thosw files in Explorer preview. Thomas Lee wrote a grwat article about it with one easy script to enable it. Give this a try !

Read function aliases with AST

Another Jeffrey Hicks post this week is about aliases in modules. Jeffrey explains aliases and a way to read them with AST. very useful to learn about aliases and AST.

News from the Engineering Team

Happy weekend and enjoy the pre-christmas time

Roman

Photo by Volodymyr Hryshchenko on Unsplash