1 / 22

Windows PowerShell v2 The IT Revolution Part Two

Windows PowerShell v2 The IT Revolution Part Two. Bart J.F. De Smet Microsoft Corporation bartde@microsoft.com blogs.bartdesmet.net/bart. The PowerShell Mission. As integrated and composable as BASH/KSH As programmatic as Perl/Python/Ruby

merle
Télécharger la présentation

Windows PowerShell v2 The IT Revolution Part Two

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows PowerShell v2The IT Revolution Part Two Bart J.F. De Smet Microsoft Corporation bartde@microsoft.com blogs.bartdesmet.net/bart

  2. The PowerShell Mission • As integrated and composable as BASH/KSH • As programmatic as Perl/Python/Ruby • As production oriented as AS400 CL/VMS DCL • As accessible as file systems

  3. Productivity Matters

  4. Jeffrey’s Tower of Power 2007 2008

  5. State of The Software • Approaching 3 million downloads • XP, Vista, Server 2003 and 2008 • Adopted by Exchange, SQL, SCOM, SCVMM, and SCDPMand many others • CEC 2009 requirement • Dozens of 3rd party tools, ISVs,and partners • Strong community engagement, 27 PowerShell MVPs

  6. The PowerShell v2 Mission • Reduce cost and effort to • Use PowerShell • Get, learn, share scripts • Layer applications on PowerShell • GUI, web, workflow, etc • Manage everything/everywhere • Targeting the whole infrastructure • Client/server, application/ service, hardware and OS • Using any and all mechanisms • WMI, web services, WSMAN, .NET, native code

  7. PowerShell Architecture (Power) User Experience Shell and Tools PowerShell Language Script Debugger Engine Object Manager Pipeline Processor Execution Context Extensibility and hosting Cmdlets WMI XML ADSI .NET COM ADO

  8. PowerShell v2 Themes GUI over PowerShell Production Scripting Universal Automation Environment Community Feedback

  9. GUI over PowerShell Execute Fetch results Automate Script

  10. GUI over PowerShell • Choice of tools • Command-line interface (CLI) and GUI • Agility in delivering new GUIs • No impact to the runtime • Automation for free • GUI emits script • GUI teaches command-line • Interactive exploration

  11. GUI over PowerShell (Power) User Experience PowerShell ISE Shell and Tools PowerShell Language Interactive Debugging Script Debugger Engine Runspace Isolation Object Manager Thread Control Pipeline Processor Execution Context Session Pooling Hosting APIs Extensibility and hosting Cmdlets Out-GridView WMI XML ADSI .NET COM ADO

  12. Demo GUI over PowerShell

  13. Production Scripting • Scripts are • Easy to use • Like cmdlets • Safe to operate • Runspaces • Easy to share • Modules • Easy to support • Script debugging

  14. Production Scripting (Power) User Experience Shell and Tools Modules PowerShell Language Restricted Language Script Debugger Debugger Enhancements Engine Transactions Object Manager Pipeline Processor Execution Context Execution Security Extensibility and hosting Cmdlets Script Cmdlets WMI XML ADSI .NET Native Code COM ADO

  15. Demo Production Scripting

  16. Universal Automation Universal • Interactive or programmatic • Local or Remote • Single or Multi Machine • Synchronous or Asynchronous • Wide range of Oses • Wide range of authentication mechanisms • .NET, COM, WMI, ADSI, XML, ADO, web services, WSMAN, native code, etc. • Simple scripting to systems programming Shells, ISEs, GUI s, Applications Scripting Language Automation Platform (API) Type Normalizers Type Normalizers In-Proc, Local, RemoteRuntime Engines Type Normalizers In-Proc, Local, RemoteRuntime Engines In-Proc, Local, RemoteRuntime Engines Automation Frameworks Automation Frameworks Automation Frameworks Events, Jobs, Transactions Providers Cmdlets

  17. Universal Automation (Power) User Experience Shell and Tools PowerShell Language Script Debugger Engine Object Manager Mobile Object Model Remoting and Eventing Pipeline Processor Execution Context Background Jobs Restricted PS Sessions Extensibility and hosting Cmdlets WMI XML ADSI .NET COM ADO

  18. Mobile Object Model • Optimized but interoperable • Live .NET objects whenever possible • Typed property bags when necessary • Serialization across PS session boundaries • 24+ core data types • Everything else becomes a string • Customization through typeXML entries • Automatic deserialization • Type: Deserialized.OriginalType • Tag: ComputerName

  19. Kinds of remoting -ComputerName WMI Cmdlets Raw WS-Man (WinRM) PowerShell Remoting DCOM, LDAP, RPC, ... WS-MAN WMI

  20. Demo Universal Automation

  21. Q & A

More Related