Layman’s Guide to PowerShell 2.0 remoting

Layman’s Guide to PowerShell 2.0 remoting (PDF)

Layman's guide to PowerShell 2.0 remoting 24412 downloads

This eBook got an update from the initial release. Here are the additions in the update.

Chapter 2
Enable remoting for only a specific network adapter
Remoting in an Enterprise

Chapter 3
Run script files on remote computers

Chapter 9
Added a note on Domain controller credential delegation
Updated a note on Windows XP/2003 support for CredSSP

Appendix A
Added some more FAQ

Appendix B
Remoting in an Enterprise by Jan Egil Ring

Errata

Nothing as of today. Please leave a comment here if you find errors in the guide.

  • Pingback: eBook: Layman's guide to PowerShell 2.0 remoting

  • Nigel Thomas

    I don’t have a comment

  • Brecht Monkerhey

    excellent guide, clear and to the point.
    thanks!

  • http://www.ravichaganti.com ravikanthchaganti

    Thanks. Glad this was helpful.

  • Pingback: Tweets that mention Layman’s Guide to PowerShell 2.0 remoting – Ebook -- Topsy.com

  • Pingback: Kindle for PowerShellers. Part 1. Notes and Highlighting « PowerShell In GUI Blog

  • Pingback: Using the View PowerCLI cmdlets from another machine « « Virtu-AlVirtu-Al

  • Pingback: bbnetman.com » Blog Archive » From Ravikanth Chaganti

  • Peruri

    getting access denied to the farm or you dont have permission when you have interactive remoting  and persistent session.
    on get-spsite.When checked on the sharepointserver eventlog on the remove server that I had session with I see the following error. SQL database login for ‘Dev_SharePoint_Configuration_Database’ on instance ‘SP2010SQLDEV’ failed. Additional error information from SQL Server is included below.

    Login failed for user ‘NT AUTHORITYANONYMOUS LOGON’.However, if i run the same command on the server, I get the results. It looks to me that the credentials are not being passed properly. What am I missing?

    When checked on the sharepointserver eventlog on the remove server that I had session with I see the following error.

    SQL database login for ‘Dev_SharePoint_Configuration_Database’ on instance ‘SP2010SQLDEV’ failed. Additional error information from SQL Server is included below.

    Login failed for user ‘NT AUTHORITYANONYMOUS LOGON’.

    However, if i run the same command on the server, I get the results.

    It looks to me that the credentials are not being passed properly. What am I missing?

  • http://www.ravichaganti.com/blog Ravikanth

    You need to use CredSSP for the SharePoint farm. Check this: http://www.ravichaganti.com/blog/?p=1230

  • Pingback: Get Full Control over your Exchange remote PowerShell session | Challenging Complexity...

  • Pingback: Get Full Control over your Exchange remote PowerShell session - Shay Levy

  • Pingback: Бесплатные книги по PowerShell - wAdmin.ru

  • Pingback: Nine PowerShell eBooks - All completely free!

  • Pingback: » Powershell: Collection of FREE e-books for download Techibee.com

  • Pingback: Citrix and Powershell Remoting | Aman Dhally's Blog

  • Pingback: New-RemoteProcess | rambling cookie monster

  • Pingback: Free e-books for Windows administrators (updated) - 4sysops

  • Keith Young

    Ravi,

    First, thank you for putting together this ebook. I have found it quite useful and keep it nearby for reference when I am doing remoting with PowerShell.

    A comment about the ebook… Perhaps add a version/revision number in case you make updates to the ebook, that way people can cite which version they are asking questions about (I don’t know if you have ever updated it or not).

    And to my main question, quoting from your ebook:

    “By default, WinRM only enables http transport for accepting remoting requests. You can manually
    enable https transport using either winrm command or New-WSManIntance cmdlet. For now, let us not
    overwhelm with so much information. We will look at this in part 2 of this guide”

    [bold mine]

    Nowhere in the ebook do you cover off configuring of SSH transport. Was there supposed to be a second, separate book, or were you going to add another Part/Appendix to this one? Do you have plans to do so?

    Thanks again for this ebook!

    Cheers!

  • santhosh

    Hi Ravi,

    I get the following error when i try to run a command on a remote computer, i have followed all the steps mentioned in your guide, Local and the remote machines are of WIN XP SP3 OS.

    [10.60.22.45] Connecting to remote server failed with the following error message : The WinRM client cannot process the

    request. Default authentication may be used with an IP address under the following conditions: the transport is HTTPS

    or the destination is in the TrustedHosts list, and explicit credentials are provided. Use winrm.cmd to configure Trust

    edHosts. Note that computers in the TrustedHosts list might not be authenticated. For more information on how to set Tr

    ustedHosts run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Hel

    p topic.

    + CategoryInfo : OpenError: (:) [], PSRemotingTransportException

    + FullyQualifiedErrorId : PSSessionStateBroken

    Thanks,