PowerShell and VBScript Automations Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Scripting in Desktop Flows

What you'll be asked

  1. Which action in Power Automate for desktop is specifically designed to execute PowerShell scripts?
  2. When using the 'Run PowerShell script' action, how can you pass a variable from your Power Automate flow into the script?
  3. What is the primary purpose of using VBScript within a Desktop Flow instead of PowerShell?
  4. If a PowerShell script fails during execution in a Desktop Flow, which variable is automatically populated with the error details?
  5. You need to return a complex object (like a list of files) from a PowerShell script back to Power Automate. What is the most reliable way to handle this data?

Answers and explanations come after you submit.