PowerShell Scripting Basics
By Devin Park · Updated May 25, 2026
Question catalog for this preview
Catalog listing of the 5 preview questions for this quiz.
Question 1
PowerShell cmdlets pass objects through the pipeline, unlike traditional shells that pass plain text strings.
Question 2
Which PowerShell operator is used for string interpolation within double-quoted strings?
Question 3
In PowerShell, `try { } [[blank1]] { } [[blank2]] { }` is the error handling structure where the middle block catches exceptions and the last block always executes regardless of whether an error occurred.
Question 4
The `$PSVersionTable` variable in PowerShell contains information about the current PowerShell version and can be used to write version-compatible scripts.
Question 5
The PowerShell cmdlet [[blank1]] converts output to HTML format, while [[blank2]] converts to CSV format, enabling easy export of data for reports and data sharing.