Platform PowerShell
summary
Demos focus on concrete cross‑platform details: installation via Homebrew / apt / snap / MSI, implicit remoting when importing Windows PowerShell 5.1 modules, and real numbers — about 281 million PS7 sessions in 90 days with ~80M on Linux and ~18M on macOS. Code examples use .NET accelerators like System.IO.Path.PathSeparator, handle differing special folders and env vars, and warn that GetTempFileName actually creates files (GetRandomFileName does not).
AI-written summary · about
chapters (13)
- 0:00Introduction
- 3:00PowerShell cross-platform evolution
- 5:38PowerShell 5.1 vs 7 differences
- 12:23Script uniqueness and shebang
- 15:58Demo: Path and environment handling
- 23:02Special folders across platforms
- 28:10Environment variables and temp files
- 32:26Managing environment variables
- 36:03Demo: File encoding and line endings
- 37:31Demo: Platform commands and aliases
- 41:54Posh-DNS module case study
- 43:19Demo: Multi-platform profiles
- 44:24Further resources
related talks
41mUsing PowerShell in a Cross Platform World - Bill Hurt
40mPowerShell Everywhere: Unleashing the Power..
45mNew Shell in Town: Adventures in using PowerShell on Linux
01h 02mPowerShell Core
53mState of the Shell
01h 34mPowerShell remoting - Installing and troubleshooting in a...
39mBuilding Cross Platform PowerShell Modules
35mState of the Shell
