Microsoft Exam Questions

You need to be able to execute MyScriptl.psl on Computer1

You administer 100 Windows 8 laptops, all of which have PowerShell Remoting enabled.
You run the following command on a computer named Computer1.
Invoke-Command -filepath \\Computer2\Share\MyScript.ps1 -computer name Computer2
MyScriptl.psl fails to execute.
You verify that you are able to access it from the network.
You need to be able to execute MyScriptl.psl on Computer1.
What should you do?

A.
Copy MyScriptl.psl to a local drive on Computer1 and run the Invoke-Command cmdlet on
Computer1.

B.
Run the Set-ExecutionPolicy cmdlet on Computer1.

C.
Run the Enter-PSSession cmdlet on Computer1.

D.
Run the Set-ExecutionPolicy cmdlet on Computer2.