A company network contains two workgroups named Workgroup1 and Workgroup2.
Workgroup1 contains computers that run Windows 7. Workgroup2 contains computers that
run Windows 8.
You run the Enable-PSRemoting Windows PowerShell cmdlet on the Workgroup2
computers.
You need to ensure that administrators can manage the Workgroup1 computers from the
Workgroup2 computers by using Windows PowerShell Remoting.1
Which two actions should you perform? (Each correct answer presents part of the complete
solution. Choose two.)
A.
Install Windows PowerShell 2.0 on the Workgroup1 computers.
B.
Run the winrm quickconfig command on the Workgroup2 computers.
C.
On the Workgroup1 computers, add the Workgroup2 computers to the trusted hosts in
Windows Remote Management (WinRM).
D.
Run the winrrn quickconfig command on the Workgroup1 computers.
E.
On the Workgroup2 computers, add the Workgroup1 computers to the trusted hosts in
Windows Remote Management (WinRM).
Explanation:
B: If you cannot connect to a remote host, verify that the service on the remote
host is running and is accepting requests by running the following command on the remote
host:
winrm quickconfig
This command analyzes and configures the WinRM service.
C: To enable authentication, you need to add the remote computer to the list of trusted hosts
for the local computer in WinRM. To do so, type:
winrm s winrm/config/client ‘@{TrustedHosts=”RemoteComputer”}’
Here, RemoteComputer should be the name of the remote computer, such as:
winrm s winrm/config/client ‘@{TrustedHosts=”CorpServer56″}’
Incorrect:
Not A: The Windows PowerShell remoting features are supported by the WS-Management
protocol and the Windows Remote Management (WinRM) service that implements
WSManagement in Windows. Computers running Windows 7 and later include WinRM 2.0
or later.
On computers running earlier versions of Windows, you need to install WinRM 2.0 or later as
appropriate and if supported.
Reference: Enable and Use Remote Commands in Windows PowerShell
D + E….. we want to manage the workgroup1 machines
Step:
1. run winrm quickconfig on workgroup 1 PCs (win 7, client PCs)
2. on workgroup 1 PCs add workgroup 2 PCs as the local admin
Answer C + D
Answers: C + D
D: “winrm quickconfig” command must be executed on remote PC (Workgroup1 with Windows 7).
D & E
http://blogs.msdn.com/b/wmi/archive/2009/07/24/powershell-remoting-between-two-workgroup-machines.aspx
https://4sysops.com/archives/enable-powershell-remoting-on-a-standalone-workgroup-computer/
B + C is for managing Workgroup2 from Workgroup1
D + E is for managing Workgroup1 from Workgroup2