Implementing Cross-Platform PowerShell Remoting via SSH Transport
Learn how to configure PowerShell 7 to use SSH as a transport layer, enabling seamless remoting across Windows, Linux, and macOS without the complexities of WinRM.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to configure PowerShell 7 to use SSH as a transport layer, enabling seamless remoting across Windows, Linux, and macOS without the complexities of WinRM.
Stop parsing text output from PowerShell cmdlets. Instead, leverage the object pipeline to pass structured objects between commands, enabling precise and robust system filtering using properties like $_.Status.
Stream large files with the PowerShell pipeline; use the foreach keyword for small in-memory collections where speed matters.
Learn how to use ForEach-Object -Parallel in PowerShell 7 to eliminate I/O bottlenecks, handle variable scoping with $using:, and tune concurrency with ThrottleLimit.
Learn how to expose virtualization extensions to a Hyper-V guest so Docker Desktop or WSL2 works inside the VM, with a step‑by‑step PowerShell example and practical trade‑offs.
Constrained Language Mode filters script capabilities at the engine level — not a process sandbox. Understand its allowlist, trust assumptions, diagnostic checks, and the failure modes that break real automation before you rely on it as a security boundary.
Diagnose PowerShell remoting failures by isolating WinRM service state, firewall reachability, listener configuration, and authentication trust.
Learn how PowerShell’s ConvertFrom-Json and ConvertTo-Json cmdlets turn JSON into objects and back, covering depth, type conversion, performance, and security. Practical examples and a checklist help you use them safely in production scripts.
Microsoft 365 groups pile up after projects end. An expiration policy automates cleanup, but unowned groups and Teams-linked resources need careful handling before you enable it.