PowerShell - Basics and EnvironmentWhich PowerShell version introduced cross-platform support for Windows, Linux, and macOS?APowerShell 4.0BPowerShell 5.1CPowerShell 7+DPowerShell 3.0Check Answer
Step-by-Step SolutionSolution:Step 1: Understand PowerShell version historyPowerShell 5.1 is Windows-only and older, while PowerShell 7+ supports multiple platforms.Step 2: Identify cross-platform support introductionPowerShell 7+ was designed to run on Windows, Linux, and macOS, unlike 5.1.Final Answer:PowerShell 7+ introduced cross-platform support -> Option CQuick Check:Cross-platform support = PowerShell 7+ [OK]Quick Trick: PowerShell 7+ runs everywhere, 5.1 only on Windows [OK]Common Mistakes:Confusing version numbersAssuming 5.1 is cross-platformMixing PowerShell Core with Windows PowerShell
Master "Basics and Environment" in PowerShell9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More PowerShell Quizzes Cmdlets and Pipeline - Verb-Noun naming convention - Quiz 8hard Cmdlets and Pipeline - Pipeline concept (|) - Quiz 10hard Control Flow - If-elseif-else statements - Quiz 15hard Control Flow - Switch statement - Quiz 12easy Operators - Assignment operators - Quiz 5medium Operators - Arithmetic operators - Quiz 12easy String Operations - Select-String for searching - Quiz 11easy Variables and Data Types - Hash tables (dictionaries) - Quiz 7medium Variables and Data Types - Automatic variables ($_, $PSVersionTable) - Quiz 14medium Variables and Data Types - Why variables store data - Quiz 14medium