Using PowerShell to be a Linux Administrator
summary
Shows PowerShell 7 running on Linux, parsing /etc/os-release into objects with get-linux-os-release, and converting Ansible text output with convert-from-ansible so results can be filtered and measured (wc-style counts replaced by object pipelines). Demonstrates systemd journal integration and PowerShell scriptblock/module logging, an invoke-sudo wrapper for elevated execution, regex-heavy parsing (author used ChatGPT to draft patterns), and an SSH subsystem approach; a few live demos fail when scriptblock logging isn’t enabled. Code and modules are released for reuse.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:31Talk for Windows users
- 3:17Windows to Linux admin
- 5:02Linux fundamentals
- 8:14PowerShell for Linux admins
- 11:24Objects vs text parsing
- 15:35Parse Linux OS release file
- 20:40Parse Ansible output with PowerShell
- 25:43Security and logging with PowerShell
- 28:32PowerShell logging and systemd journal
- 33:11PowerShell paths and profiles
- 34:38Sudo in PowerShell
- 36:43SSH setup and cross-platform
- 39:12Command precedence Linux vs PowerShell
- 41:20Summary
related talks
45mNew Shell in Town: Adventures in using PowerShell on Linux
39mLinux Shell Debates or: How I Stopped Worrying and Learned to Love PowerShell
40mPowerShell Everywhere: Unleashing the Power..
44mAnsible and Windows - How PowerShell enables a Linux...
41mWhat's Cooking with PowerShell Core?
01h 40mAnsible for the Windows Admin
43mPowerShell For Every System
05mOpenSource PowerShell...
