Which command can be used to check the PowerShell version installed on a Windows 10 computer?

Prepare for the StudyPlug Exam with dynamic flashcards and detailed multiple-choice questions. Each provides insightful hints and explanations for optimal learning and exam readiness. Boost your scores today!

Multiple Choice

Which command can be used to check the PowerShell version installed on a Windows 10 computer?

Explanation:
To check the installed version of PowerShell on a Windows 10 computer, the command `$PSVersionTable` is utilized. This command outputs a table containing various details about the PowerShell environment, including the version number. When executed in the PowerShell interface, `$PSVersionTable` returns a structured overview, notably showing the value for `PSVersion`, which explicitly indicates the current version of PowerShell. The other options do not perform this function. For example, `$SystemVersion` is not a recognized command in PowerShell for retrieving version information. Similarly, `Get-OSVersion` and `Check-PSVersion` do not exist as standard commands in PowerShell and would not yield any relevant version data for PowerShell. Thus, using `$PSVersionTable` is the appropriate and effective method for checking the installed PowerShell version.

To check the installed version of PowerShell on a Windows 10 computer, the command $PSVersionTable is utilized. This command outputs a table containing various details about the PowerShell environment, including the version number. When executed in the PowerShell interface, $PSVersionTable returns a structured overview, notably showing the value for PSVersion, which explicitly indicates the current version of PowerShell.

The other options do not perform this function. For example, $SystemVersion is not a recognized command in PowerShell for retrieving version information. Similarly, Get-OSVersion and Check-PSVersion do not exist as standard commands in PowerShell and would not yield any relevant version data for PowerShell. Thus, using $PSVersionTable is the appropriate and effective method for checking the installed PowerShell version.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy