IT Questions and Answers :)

Wednesday, April 17, 2019

What is the name of the protocol behind PowerShell's Remoting feature, which is Microsoft's new standard for administrative communications?

What is the name of the protocol behind PowerShell's Remoting feature, which is Microsoft's new standard for administrative communications?

  • RPC
  • WMI
  • WS-MAN
  • WS-AT 

What is the name of the protocol behind PowerShell's Remoting feature, which is Microsoft's new standard for administrative communications?

EXPLANATION

The Connect-WSMan cmdlet connects to the WinRM service on a remote computer, and it establishes a persistent connection to the remote computer. You can use this cmdlet in the context of the WSMan provider to connect to the WinRM service on a remote computer. However, you can also use this cmdlet to connect to the WinRM service on a remote computer before you change to the WSMan provider. The remote computer appears in the root directory of the WSMan provider.
Explicit credentials are required when the client and server computers are in different domains or workgroups.
For information about how to disconnect from the WinRM service on a remote computer, see the Disconnect-WSMan cmdlet.

Examples

Example 1: Connect to a remote computer
PowerShell
PS C:\> Connect-WSMan -ComputerName "server01"
PS C:\> cd wsman:
PS WSMan:\>
PS WSMan:\> dir
WSManConfig: Microsoft.WSMan.Management\WSMan::WSMan

ComputerName                                  Type
------------                                  ----
localhost                                     Container
server01                                      Container
This command creates a connection to the remote server01 computer.
The Connect-WSMan cmdlet is generally used in the context of the WSMan provider to connect to a remote computer, in this case the server01 computer. However, you can use the cmdlet to establish connections to remote computers before you change to the WSMan provider. Those connections appear in the ComputerName list.

 

Share:

0 comments:

Post a Comment

Popular Posts