Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Understanding PowerShell Secu... > PowerShell 2.0 CTP2 and Windows Remo...

PowerShell 2.0 CTP2 and Windows Remote Management (WinRM)

With the introduction of PowerShell 2.0 CTP2, the PowerShell team has introduced the concept of remoting, which allows PowerShell commands to be executed against remote machines by leveraging the capabilities of a protocol called WinRM. As described in Chapter 2, “Basic PowerShell Concepts,” WinRM is Microsoft’s implementation of the WS-Management Protocol, which is a Simple Object Access Protocol (SOAP)-based protocol that provides a common method for systems to access and exchange management information. Although the addition of remoting is a major step forward in the capabilities of PowerShell, it also introduces a whole new range of potential security concerns. Fortunately, it is possible to centrally manage and configure WinRM to ensure that these powerful new remoting capabilities can be implemented securely in an enterprise. This section provides an overview of the tools and techniques needed to accomplish this.

Configuring WinRM

The primary utility used to manage WinRM settings is called winrm.cmd. After you have installed WinRM using the procedures described in Chapter 2, you can enter the command winrm from a PowerShell prompt to get an overview of the syntax and available commands as shown in the following:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint