PowerShell SnippetRace 42-44/2023

Hyper-V, pwsh, IP, Upgrade

Events

  • PS Usergroup Austria – Online quarterly update Q4/2023 November 28th 2023 – Anmeldung
  • Expertslive Cafe Azure Updates – 22. November 23. Anmeldung
  • PowerShell & DevOps Summit US – April 8-11 2024 Bellevue, WA – Anmeldung

Snippets

List and document all Hyper-V VM´s

Hyper-V documentation can be a pain, but not with Patricks Script. Get the mist important facts about your Hyper-V VM´s and export them to HTML. Again, a oneliner from Patrick with impact :-). See code and examples here.

PowerShell 7.4 Release Candidate 1 is available

When PowerShell Core began to synchronize the release-cycles with .NET we can now expect continuous releases. 7.4 will include PSREsourceGet 1.0 as a core component as well as PSREadline in its newest versions. There are also some interestig experimental features like PSCustomHeaderTableDecoration or PSWindowsNativeCommandArgPassing. Sounds interesting, stay tuned for more and read the details here.

Get and Set IP Address on Windows

This sounds like a quite simple task, but if in a hurry, it may extend to a larger thing if you dont know some basics of the NET commandlets. Read Emaniel Halapciuc Blog about setting and getting IP-addresses with Powershell.

PowerShell 7 Upgrade guide

If sou are still on Windows PowerShell 5.1 and have not made it to PowerShell 7, this might be the right article for you. Bruce McDonald wrote a post with multiple options to upgrade to PowerShell 7, every taste should be satisfied.

So far so good – until next time / R.

Foto von Daniel Kuruvilla auf Unsplash

Leave a Reply