Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to PowerShell and getting started

738 views

Published on

This was the deck used for PowerShell Bangalore User Group (PSBUG) inaugural meeting.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Introduction to PowerShell and getting started

  1. 1. PowerShell BangaloreUser Group (PSBUG)Inaugural meet – 28th, July 2012 http://twitter.com/psbug LearningPowerShell.com
  2. 2. Agenda• Introduction to PowerShell• Getting Started with PowerShell• Break• From the Community!• Give aways• PSBUG - The road ahead! LearningPowerShell.com
  3. 3. Introduction to PowerShellPowerShell Bangalore User Group (@PSBUG) – 27th July, 2012 Ravikanth Chaganti http://twitter.com/ravikanth http://ravichaganti.com/blog LearningPowerShell.com
  4. 4. About Me• Work at Dell Inc.• PowerShell MVP since 2010• Author • Layman’s guide to PS remoting • WQL via PowerShell• Founder & Editor • PowerShellMagazine.com • LearningPowerShell.com LearningPowerShell.com
  5. 5. Sponsor – Code Owls LLC Solving problems Automating solutions http://www.codeowls.com LearningPowerShell.com
  6. 6. Why PowerShell?• Historically, Windows focused on usability• Times are changing have changed! PowerShell is a part of MS CEC!• …. And, Microsoft isn’t alone!• So, IT Professionals, it’s time to buckle up! LearningPowerShell.com
  7. 7. PowerShell For Developers• Rapid UI Prototyping – WPF using ShowUI – WinForms using PrimalStudio• Enable PowerShell support within applications – Ex: SnoopShell, etc• Automated build process and unit testing – Psake, etc LearningPowerShell.com
  8. 8. DEMOUI PrototypingSnoopShell LearningPowerShell.com
  9. 9. What is PowerShell?Monad is the next generation platform foradministrative automation. Monad solvestraditional management problems by leveragingthe .Net Platform - Jeffrey Snover, 2002• We are leaps and bounds ahead, already! LearningPowerShell.com
  10. 10. What is PowerShell?• An object-base shell and is in version 3.0 (release preview)• Not just a shell anymore; it’s an automation engine. PowerShell 3.0 PowerShell 2.0 Year 2012 Year 2009 PowerShell 1.0 Year 2007 LearningPowerShell.com
  11. 11. DEMOText vs Object-based Shell LearningPowerShell.com
  12. 12. What is in PowerShell 3.0?• PowerShell 3.0 – Several enhancements to built-in cmdlets and bug fixes – New built-in cmdlets – New PowerShell ISE (equivalent to a commercial script editor … well, almost!) – Language and syntax simplification – Robust remoting sessions – Workflows – CIM cmdlets• PowerShell 3.0 and Windows 8 … – 4000+ cmdlets in-box – Several new modules (disk, network, iscsi, etc) – PowerShell Web Access LearningPowerShell.com
  13. 13. DEMONew Built-in Cmdlets and EnhancementsNew Tab CompletionNew Integrated Scripting EnvironmentUpdatable helpLanguage and Syntax SimplificationShow-Command LearningPowerShell.com
  14. 14. TakeawaysPowerShell 3.0 is a step forward in datacenterautomation.Features such as Workflows and robustsessions can help IT administrators inautomating multi-machine managementefficiently.New features simplify language to helpbeginners.This is the right to get started with PowerShell, LearningPowerShell.com
  15. 15. Q AND A LearningPowerShell.com
  16. 16. Getting Started with PowerShellPowerShell Bangalore User Group (@PSBUG) – 27th July, 2012 Ravikanth Chaganti http://twitter.com/ravikanth http://ravichaganti.com/blog LearningPowerShell.com
  17. 17. What do you need?• No scripting / programming knowledge! • Windows PowerShell 2.0 or 3.0• Server OS: Windows Server 2008 or Windows Server 2008 R2 or Windows Server 2012• Client OS: Windows Vista or Windows 7 or Windows 8 LearningPowerShell.com
  18. 18. Choose the right tool!• There are many to choose from: – PowerShell.exe [Console Host] – PowerShell_ISE.exe [GUI Host] – PowerGUI by Quest – PowerSE by DevFarm – PowerShell Plus by Idera LearningPowerShell.com
  19. 19. Understand PowerShell cmdlets• Pronounced as command-let• A lightweight command – Compiled Cmdlets – Script Cmdlets• Use Verb-Noun pairs LearningPowerShell.com
  20. 20. DEMOUnderstanding Cmdlets LearningPowerShell.com
  21. 21. Start with the Shell• Anything that runs in the shell can be a part of a script• Discover PowerShell – Get-Help – Get-Member – Get-Command – About Topics LearningPowerShell.com
  22. 22. DEMOExploring PowerShell LearningPowerShell.com
  23. 23. Remember …• … that there is more than one way in PowerShell – [System.Diagnostics.Process]::GetProcesses( ) – Get-Process• … set script execution policies• … to Use PowerShell profiles and type less! LearningPowerShell.com
  24. 24. DEMOPowerShell Execution PoliciesPowerShell Profiles LearningPowerShell.com
  25. 25. Call to action• Start today, if you haven’t. It’s already late!• Ask questions or ask for help!• Use the learning resources: – Getting started guide – PowerShell Learning center – Free PowerShell eBooks – The scripting Guys blog – PowerScripting Podcast LearningPowerShell.com
  26. 26. Q AND A LearningPowerShell.com

×