Why PowerShell is Like Algebra