1 / 30

Windows PowerShell for Beginners

WSV315. Windows PowerShell for Beginners. Jeffrey Snover Distinguished Engineer /Lead Architect for Windows Server Mir Rosenberg Senior Program Manager Microsoft Corporation. BuckyBalls. Building Blocks. Agenda. Introduce Windows PowerShell Learning to learn PowerShell

jacob
Télécharger la présentation

Windows PowerShell for Beginners

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. WSV315 Windows PowerShell for Beginners Jeffrey Snover Distinguished Engineer/Lead Architect for Windows Server Mir Rosenberg Senior Program Manager Microsoft Corporation

  2. BuckyBalls

  3. Building Blocks

  4. Agenda • Introduce Windows PowerShell • Learning to learn PowerShell • Drill into utility cmdlets • Word from PowerShellCommunity.org • Q&A! • Have some FUN!

  5. Windows PowerShell • Command line and scripting language • As interactive and composable as BASH/KSH • As programmatic as Perl/Python/Ruby • As productionorientedas AS400 CL/VMS DCL

  6. Common Engineering Criteria70+ active internal partners LyncServer • SharePoint Server • Service Manager • Windows Small Business Server • Exchange Server • Windows Diagnostics • Server Manager • SQL Server • Active Directory • Failover Clustering • System Center Operations Manager • Windows Backup • Server Migration • System Center Virtual Machine Manager • Best Practices Analyzer • Active Directory Rights Management Services • Internet Information Services • Background Intelligent Transfer Service• System Center Data Protection Manager • Network Load Balancing • Remote Desktop Services • Group Policy • WS-Management • AppLocker • WMI

  7. Who’s Using Windows PowerShell 2.0?

  8. Productivity

  9. Short Introduction Jeffrey Snover Distinguished Engineer / Lead Architect Windows Server demo

  10. Objects “An object is a collection of parts and how to use them” How to use Methods How to use Parts Parts Properties Pedal Front Wheel Steer Left Back Wheel Steer Right Pedals Apply Front Brake Saddle Apply Rear Brake Frame

  11. Objects How to use Methods Parts Properties Stop() DisplayName Start() Status Pause() RequiredServices Windows Service

  12. The Difference is OBJECTS! Get-Process | Where { $_.handles –gt 500 } | Sort handles | Format-Table Common Windows PowerShell Parser Get-ProcessCmdlet Sort Cmdlet FormatCmdlet Where Cmdlet Windows PowerShell Pipeline Processor

  13. Working With Objects Mir Rosenberg Senior Program Manager Windows Server demo

  14. Learn and Leverage • In-box documents • PowerShell_ISE Help • Getting Started • User’s Guide • About Help • Cmdlet Help • Provider Help • Discovery utilities • Books • Community • Practice ad hoc development

  15. Utilities - Discovery

  16. Discovery Utilities Mir Rosenberg Senior Program Manager Windows Server demo

  17. Utilities – Object Manipulation

  18. Object Manipulation Utilities Jeffrey Snover Distinguished Engineer / Lead Architect Windows Server demo

  19. PowerShell Script Explorer and Visual Search Mir Rosenberg Senior Program Manager Windows Server demo

  20. Summary / Call to Action • Available at: www.microsoft.com/downloads • Search for PowerShell • Try it, Deploy it, Use it, Share it! • Focus on learning to learn Automate and Prosper!

  21. Windows PowerShell Community Resources • Team blog: http://blogs.msdn.com/PowerShell • PowerShell Community: http://www.powershellcommunity.org • PowerShell Forum: http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/threads • Channel 9: http://channel9.msdn.com/tags/PowerShell • Wiki: http://channel9.msdn.com/wiki/default.aspx/Channel9.WindowsPowerShellWiki • Script Center: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx • CodePlex: http://codeplex.com/Project/ProjectDirectory.aspx?TagName=powershell • Some good books • PowerShell in Action, 2nd Edition by Bruce Payette http://www.manning.com/payette2 • Windows PowerShell Cookbook, 2nd Edition by Lee Holmes http://oreilly.com/catalog/9780596801519/ • PowerShell Comics! http://borntolearn.mslearn.net/comics/b/weblog/archive/2011/04/20/climbing-mt-powershell-comic-book-first-pages.aspx

  22. Q&A

  23. Required Slide Speakers, please list the Breakout Sessions, Interactive Discussions, Labs, Demo Stations and Certification Exam that relate to your session. Also indicate when they can find you staffing in the TLC. Related Content • Breakout Sessions • WSV406 | Advanced Automation Using Windows PowerShell 2.0 • WSV316 | WS08R2: Tips on Automating the Breadth of Your IT Environment • WCL321 | Windows PowerShell Remoting: Definitely NOT Just for Servers • WSV322 | Managing the Registry with Windows PowerShell 2.0 • WSV471-INT | Build Reusable Tools in Windows PowerShell • WSV473-INT | Windows PowerShell 3.0: Why Wait? Get Next-Generation PowerShell… • EXL321 | Microsoft Lync Server 2010: Administering Lync Server Deployment • Hands-on Labs • WSV276-HOL Introduction to Windows PowerShell Fundamentals • WSV371-HOL Advanced Windows PowerShell Scripting • WSV378-HOL Server Management and Windows PowerShell V2 • Product Demo Stations • WSV 1 – Windows PowerShell and Server Management

  24. Track Resources • Don’t forget to visit the Cloud Power area within the TLC (Blue Section) to see product demos and speak with experts about the Server & Cloud Platform solutions that help drive your business forward. • You can also find the latest information about our products at the following links: • Cloud Power - http://www.microsoft.com/cloud/ • Private Cloud - http://www.microsoft.com/privatecloud/ • Windows Server - http://www.microsoft.com/windowsserver/ • Windows Azure - http://www.microsoft.com/windowsazure/ • Microsoft System Center - http://www.microsoft.com/systemcenter/ • Microsoft Forefront - http://www.microsoft.com/forefront/

  25. Resources • Connect. Share. Discuss. http://northamerica.msteched.com Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn

  26. Required Slide Complete an evaluation on CommNet and enter to win!

  27. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related