PowerShell SnippetRace 19-20/2024

CSV, Hyper-V, Terminal, Ping

Events

  • Expertslive.at Konferenz, June 26th 2024, – www.expertslive.at
  • OpenSSH Future – PowerShell Usergroup Austria Cafe with Danny Maertens from the PowerShell engineering Team – Juni 18th, register now.
  • PowerShell Conference Europe 2024, June 24th – www.psconf.eu

Snippets

Navigating CSV Files

CSV, the most common, old, simple and platform-agnostic data format i know is still THE data-exchange format for lists. Lean from Adam Bertram on how to navigate through this data-structure and get out what you need.

Enable Hyper-V VM resource metering

Monitoring VM-resource consumption is really useful, just see how you can enable this for your VM´s with PowerShell from Patrick Grünauer.

Detect Windows Terminal with PowerShell

Windows Terminal, the „iterm“ on Microsofts primary End-User-platform is great. Sometimes you may want to detect if its running and if your shell is within this environment. Use Mike F. Robbins code to detect Terminal.

Ping multiple Computers at once

This sounds too simple, but Patrick addes some code to read out Computers from AD, or use subnets for the ping. Get a brief idea on how this works on sid-500.com

Happy weekend / R.

Foto von Ibrahim Boran auf Unsplash