310 likes | 937 Views
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
E N D
WSV315 Windows PowerShell for Beginners Jeffrey Snover Distinguished Engineer/Lead Architect for Windows Server Mir Rosenberg Senior Program Manager Microsoft Corporation
Agenda • Introduce Windows PowerShell • Learning to learn PowerShell • Drill into utility cmdlets • Word from PowerShellCommunity.org • Q&A! • Have some FUN!
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
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
Short Introduction Jeffrey Snover Distinguished Engineer / Lead Architect Windows Server demo
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
Objects How to use Methods Parts Properties Stop() DisplayName Start() Status Pause() RequiredServices Windows Service
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
Working With Objects Mir Rosenberg Senior Program Manager Windows Server demo
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
Discovery Utilities Mir Rosenberg Senior Program Manager Windows Server demo
Object Manipulation Utilities Jeffrey Snover Distinguished Engineer / Lead Architect Windows Server demo
PowerShell Script Explorer and Visual Search Mir Rosenberg Senior Program Manager Windows Server demo
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!
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
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
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/
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
Required Slide Complete an evaluation on CommNet and enter to win!
© 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.