1 / 22

PowerShell for Dummies

PowerShell for Dummies. Kurt Callemin. WHO AM I ?. Kurt Callemin Final year student at KHBO: Master of Science Electronics- ICT Microsoft Student Partner since 2009 Developer Blog: http://www.ckurt.net Yelper: http://www.yelper.be/C_Kurt Twitter: C_Kurt. AGENDA.

feryal
Download Presentation

PowerShell for Dummies

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. PowerShell for Dummies Kurt Callemin

  2. WHO AM I ? • Kurt Callemin • Final year student at KHBO: Master of Science Electronics- ICT • Microsoft Student Partner since 2009 • Developer • Blog: http://www.ckurt.net • Yelper: http://www.yelper.be/C_Kurt • Twitter: C_Kurt

  3. AGENDA • Introduction to PowerShell • Learn to investigate and explore PowerShell • Drill into utilities cmdlets

  4. WINDOWS POWERSHELL • New command line and scripting language • Interactive and Composable • Programmatic • Production Oriented

  5. PRODUCTIVITY

  6. Short Introduction DEMO 1 6

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

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

  9. ARRAYS • Data structurethatholdsother objects • Each object in itsowncompartment • Access compartmentsusing [] $Processes = Get-Process Object Object Object Object Object $Processes[4].name $Processes[0].name 9

  10. THE KIND OF OBJECTS Get-Process | Where { $_.handles –gt 500 } | Sort handles | Format-Table Common Windows PowerShell Parser Get-ProcessCmdlet Where Cmdlet FormatCmdlet Sort Cmdlet Windows PowerShell Pipeline Processor 10

  11. Workingwith Objects DEMO 2 11

  12. LEARN AND LEVERAGE • In the box documents • PowerShell_ISE Help • Getting Started • User’s Guide • About Help • Cmdlet Help • Provider Help • Discovery utilities • Books • Community • Practice ad hoc development 12

  13. UTILITIES - DISCOVERY 13

  14. Discovery Utilities DEMO 3 14

  15. Utilities – Object Manipulation 15

  16. Object Manipulation Utilities DEMO 4 16

  17. TRANSFORMATION and OUTPUT 17

  18. Transformationand Output Utilities DEMO 5 18

  19. Summary • Nowavailable at: www.microsoft.com/downloads • Search forPowerShell • Tryit, Deployit, Useit, Share • More Sessions: Scripting • http://www.msteched.com/2010/NorthAmerica/WSV401 • http://www.msteched.com/2010/NorthAmerica/OSP402 19

  20. POWERSHELL COMMUNITY • Newsgroup: Microsoft.Public.Windows.PowerShell • Team blog: http://blogs.msdn.com/PowerShell/ • PowerShellCommunity.Org: http://www.PowershellCommunity.Org • 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 • Many excellent books • Manning Press book by PowerShell Dev Lead Bruce Payette: PowerShell in Action http://manning.com/powershell/ • O’Reilly book by PowerShell Dev Lee Holmes – Windows PowerShell Cookbook • http://www.oreilly.com/catalog/9780596528492/index.html 20

  21. Thankyou! Pleasefill out sessionevaluations 21

  22. Sponsored by:

More Related