160 likes | 342 Views
Remote Control with Windows PowerShell. Don Jones @concentrateddon. Title slide. Why Remoting? The Many Forms of Remote Control WinRM / WS-MAN: The Enabling Technology Enabling and Configuring Remoting 1-to-1 Remoting 1-to-Many Remoting and Deserialized Objects Background Jobs
E N D
Remote Controlwith Windows PowerShell Don Jones @concentrateddon
Title slide • Why Remoting? • The Many Forms of Remote Control • WinRM / WS-MAN: The Enabling Technology • Enabling and Configuring Remoting • 1-to-1 Remoting • 1-to-Many Remoting and Deserialized Objects • Background Jobs • Sessions, Session Options, and More • Implicit Remoting • Demo-Heavy Session!
Why Remoting? • Strategic way to move from single-machine management to multi-machine management • Usable on client and server computers • Available for Windows XP and later (with Windows PowerShell v2 installed); installed by default on Windows 7 and later (not enabled) • Many different modes of use
The Many Forms of Remote Control • Windows Management Instrumentation (WMI) • Utilizes RPCs for communications • Primarily for retrieving management info • A –computername parameter • E.g., Get-Service and Get-Process • Utilizes underlying technology for communications • Available on only a few cmdlets • PowerShell Remoting • Generic, good for all commands • Utilizes WinRM / WS-MAN for communications • “The New Standard”
WinRM and WS-MAN • WS-MAN is the protocol • WinRM is the implementing service • WSMAN: drive in PowerShell exposes configuration • Easy to set up in a domain environment; a bit tricky in a non-domain environment • Help about_remote_troubleshooting • WinRM is a “traffic director;” must register endpoints that will receive WinRM traffic • Any given app can register multiple endpoints • WinRM traffic occurs over HTTP by default (not port 80)
It’s All Demo From Here • Let’s spend some time working with WinRM and remoting • Please raise any questions as we go! • I will capture a transcript of my shell activity • Download next week from ConcentratedTech.com (“Downloads”)
Final Chance for Q&A • Additional Resources: • http://ConcentratedTech.com • http://manning.com/jones • @concentrateddon • http://www.youtube.com/concentrateddon • See me for add’l resources • Recorded PowerShell workshops • Demo videos • Etc.
Stay up to date with TechNet Belux Register for our newsletters and stay up to date:http://www.technet-newsletters.be • Technical updates • Event announcements and registration • Top downloads Join us on Facebook http://www.facebook.com/technetbehttp://www.facebook.com/technetbelux LinkedIn: http://linkd.in/technetbelux/ Twitter: @technetbelux DownloadMSDN/TechNet Desktop Gadgethttp://bit.ly/msdntngadget
TechDays 2011 On-Demand • Watchthis session on-demand via TechNet Edge http://technet.microsoft.com/fr-be/edge/http://technet.microsoft.com/nl-be/edge/ • Download to your favorite MP3 or video player • Get access to slides and recommended resources by the speakers