What should you do?

You administer 100 Windows 8.1 laptops, all of which have PowerShell Remoting enabled. You run the following command on a computer named Computer1.
Invoke-Command -filepath \Computer2ShareMyScript.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-ExecutionPolicycmdlet on Computer1.
C. Run the Enter-PSSessioncmdlet on Computer1.
D. Run the Set-ExecutionPolicycmdlet on Computer2.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.