156k views
4 votes
You have created a new virtual machine called PLABDMCORE02. You would like to start a PowerShell remoting session with the PLABDMCORE02 machine. Which of the following PowerShell command will you execute?

a. Enter-PSSession -ComputerName PLABDMCORE02
b. Start-RemoteSession -ComputerName PLABDMCORE02
c. Invoke-Command -ComputerName PLABDMCORE02
d. Connect-PSSession -ComputerName PLABDMCORE02

1 Answer

4 votes

Final answer:

To start a PowerShell remoting session with PLABDMCORE02, you should execute the command 'Enter-PSSession -ComputerName PLABDMCORE02'.

Step-by-step explanation:

To start a PowerShell remoting session with the virtual machine called PLABDMCORE02, you will use the following command:

  1. Enter-PSSession -ComputerName PLABDMCORE02

This command initiates an interactive PowerShell session with the specified computer. It is used for one-on-one remoting as if you were sitting right at the PLABDMCORE02 machine. The other commands listed are not standard PowerShell cmdlets for remoting or are incorrect uses of actual cmdlets.

User Nidhi Dadiya
by
8.9k points