By default, you can run a Windows PowerShell script by double-clicking its icon.

  1. True

  2. False


Correct Option: B

AI Explanation

To answer this question, you need to understand how Windows PowerShell scripts are executed.

Option A) True - This option is incorrect. By default, you cannot run a Windows PowerShell script by double-clicking its icon. By default, double-clicking a PowerShell script's icon will open it in an editor, such as Notepad or PowerShell Integrated Scripting Environment (ISE), rather than executing the script.

Option B) False - This option is correct. By default, you cannot run a Windows PowerShell script by double-clicking its icon. You need to explicitly run the script using the PowerShell command line or by right-clicking the script and selecting "Run with PowerShell" from the context menu.

The correct answer is B) False.

Find more quizzes: