Home » Microsoft » 70-687 » Which action should you perform from the computer you are building the image from?
You are a desktop administrator for a small company.
You are building a Windows 8.1 image to rollout to all new computers. Your company plans to administer all client computers from a single location.
You need to ensure that you can manage all client computers remotely once they are deployed.
Which action should you perform from the computer you are building the image from?
A. Run the winrmenumerate command.
B. Run the Enable-PSRemotingcmdlet.
C. Run the Set-PSStrictModecmdlet.
D. Run the New-PSSessionConfigurationFilecmdlet.
Correct Answer: B
Explanation/Reference:
Explanation:
http://technet.microsoft.com/en-us/library/hh849694.aspx
Enable-PSRemoting
Configures the computer to receive remote commands.
..
You need to run this command only once on each computer that will receive commands. You do not need to run it on computers that only send commands. Because the configuration activates listeners, it is prudent to run it only where it is needed.
…
The Enable-PSRemoting cmdlet performs the following operations:
-- Runs the Set-WSManQuickConfig cmdlet, which performs the following tasks:
----- Starts the WinRM service.
----- Sets the startup type on the WinRM service to Automatic. ----- Creates a listener to accept requests on any IP address. ----- Enables a firewall exception for WS-Management communications. ----- Registers the Microsoft.PowerShell and Microsoft.PowerShell.Workflow session configurations, if it they are not already registered.
----- Registers the Microsoft.PowerShell32 session configuration on 64-bit computers, if it is not already registered.
----- Enables all session configurations.
----- Changes the security descriptor of all session configurations to allow remote access. ----- Restarts the WinRM service to make the preceding changes effective.
…
Further Information:
http://technet.microsoft.com/en-us/library/cc781778%28v=ws.10%29.aspx Windows Remote Management Command-Line Tool (Winrm.cmd)
Windows Remote Management (WinRM) uses a new command-line tool, Winrm.cmd, to perform its operations. These operations include Get, Put, Invoke, and Enumerate.
..
Performing an Enumerate Operation
The WS-Management Enumerate operation returns a collection of objects.
..
http://technet.microsoft.com/en-us/library/hh849712.aspx
New-PSSessionConfigurationFile
Creates a file that defines a session configuration.