PowerShell SnippetRace 04-2022

NuGet, History, Update, Logon

Events

  • 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

NuGet Provider Installation Fail ==> Solution

If you fail to install the current version of PowerShellGet coming from version 1.0.0.1, read this blog from the PowerShell engineering team how to solve that.

Copy-HistoryCommand

Even if you dont use it very often, you may know there is a command-history in PowerShell by default. Read Jeffrey Hicks blog on a little function which is pretty handy and makes using history more easy.

Control Windows Update for Business with PowerShell

Brandon Lee invested some time and wrote an article about this topic.

Finding PowerShell Last Logon by User

User login activities may help you in your daily business and even more in an attack-scenario. Read Adam Bertram´s article on finding this out via event-id´s.

Have a nice week / R.

Photo by Federico Di Dio photography on Unsplash