70-686 · Question #109
You plan to use Windows PowerShell scripts to configure system settings when you deploy Windows 7. You need to ensure that Windows PowerShell scripts will run on the client computers during initial…
The correct answer is B. Set the script execution policy to RemoteSigned. I am not sure why the answer is A. i found some information, hope it can help to understand. =) As part of PowerShell's "secure by default" initial setup, scripts are not allowed to be ran by the command interpreter. This behavior can be modified by changing the PowerShell…
Question
You plan to use Windows PowerShell scripts to configure system settings when you deploy Windows 7. You need to ensure that Windows PowerShell scripts will run on the client computers during initial setup.
Options
- ASet the script execution policy to Restricted.
- BSet the script execution policy to RemoteSigned.
- CUse Group Policy preferences.
- DSet the script execution policy to AllSigned.
How the community answered
(45 responses)- A4% (2)
- B78% (35)
- C13% (6)
- D4% (2)
Explanation
I am not sure why the answer is A. i found some information, hope it can help to understand. =) As part of PowerShell's "secure by default" initial setup, scripts are not allowed to be ran by the command interpreter. This behavior can be modified by changing the PowerShell execution policy. There are four execution polices to choose from. Restricted-The default, allows no scripts to run AllSigned-All scripts must be Authenticode-signed to run RemoteSigned-Scripts downloaded from a remote location must be signed Unrestricted-PowerShell will run any script, works like what you are probably used to now
Topics
Community Discussion
No community discussion yet for this question.