This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Use the following questions to check what you’ve learned in this module.
Which command will display the most recent Windows PowerShell error message?
$Error
$Error[1]
$Error[0]
How can you pause a script while it's running to interrogate variables and investigate why the script is failing?
Use the Set-PSBreakPoint cmdlet
Use the Break command
Use the Continue command
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?