PowerShell SnippetRace 15/16-2023

Measure-Object, Invoke-SQLCmd, Strict Mode, PowerShell AI (GPT-based)

Events

  • PowerShell Conference Europe June 19th, 2023 – Link
  • PowerShell and DevOps Summit. April 24-27, 2023 – Link
  • Expertslive Konferenz June 21, 2023 Linz – Link

Snippets

Measure-Object – or – How many of those do i have ?

Dealing with PowerShell means most of the time to deal with data, and data means to have multiple of it. Measure-Object is the command of choice to deal with multiple items, and good knowledge about it is essential. Read Nicholas Xuan Nguyens blog on this extensive CmdLet!

Invoke-SQLCommand – your entrypoint to SQL Data

In the Microsoft world, independent if OnPrem or Cloud, SQL-databases are omnipresent. Read Victor Silvas Blog on connecting, querying and modifying SQL-databases from the commandline.

Strict-Mode

PowerShell sometimes emits simply nothing and sometimes you get errors and dont expect them. If you want to understand deeper whats behind the logic of PowerShell use strict-mode and read Patricks blog to dive into it.

PowerShell AI Module

Everyone is talking about Chat-GPT and similar AI´s, but how to use them in your daily work? Read Nicolas Xuan Nguyens blog on the Power AI module from Doug Finke and how to use it in daily life.

Next week (April 17-19) is MVP summit, i hope i can pickup some (non-NDA) interestig news.

Regards/Roman

Foto von DeepMind auf Unsplash