PrepAway - Latest Free Exam Questions & Answers

What should you modify first?

Your network contains several servers that run Windows Server 2012 R2 and client
computers that run Windows 8.1.
You download several signed Windows PowerShell scripts from the Internet.
You need to run the PowerShell scripts on all of the servers and all of the client computers.
What should you modify first?

PrepAway - Latest Free Exam Questions & Answers

A.
The environment variables on all of the servers

B.
The execution policy on all of the servers

C.
The execution policy on all of the client computers

D.
The environment variables on all client computers

Explanation:
First modify the environment variables on the server, then modify them on client computers.

16 Comments on “What should you modify first?

  1. CuLeBrO says:

    This answer and explanation contradicts each other. The answer says: C) the execution policy on all of the client computers but the explanation says “First modify the environment variables on the server, then modify then on client computers”

    Which one is it for real?, I have seen many other dumps with the answer: D) The environment variables on all computers.

    Thanks,




    0



    0
  2. Singh says:

    The answer is B.

    If you’ve just installed a new version of Windows on your computer or have never opened a PowerShell window before, PowerShell’s Execution Policy will probably be set to the default, which is the Restricted policy.




    0



    0
  3. Monu says:

    The scripts are to be run on both servers and clients and both by default have Restricted execution policy. Execution policy needs to be changed on both but which one should be done first? One can change the policy on either client or the server first, so the question is a tricky one.




    0



    0
  4. gbj says:

    freshly installed 2012r2:
    PS C:\Users\Administrator> Get-ExecutionPolicy
    RemoteSigned

    and from my non modified 8.1 desktop:
    PS C:\Users\gb> Get-ExecutionPolicy
    Restricted

    So C is the right answer as i’d have to change the client




    0



    0
  5. JeffD says:

    See v.6 of this question.
    Answer is C.

    Explanation:
    The default execution policy of Windows Server 2012 is RemoteSigned meaning that as long as a
    valid signature is used on the scripts, they will run. However, the client computers have a default execution policy of restricted meaning that no scripts will run in PowerShell whatsoever, so this would have to be changed before the scripts could be executed on the client computers.




    2



    0

Leave a Reply