PowerShell Bangalore User Group (PSBUG) Inaugural meet – 28th, July 2012 http://twitter.com/psbug LearningPowerShell.com
Agenda • Introduction to PowerShell • Getting Started with PowerShell • Break • From the Community! • Give aways • PSBUG - The road ahead! LearningPowerShell.com
Introduction to PowerShell PowerShell Bangalore User Group (@PSBUG) – 27th July, 2012 Ravikanth Chaganti http://twitter.com/ravikanth http://ravichaganti.com/blog LearningPowerShell.com
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
Sponsor – Code Owls LLC Solving problems Automating solutions http://www.codeowls.com LearningPowerShell.com
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
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
DEMO UI Prototyping SnoopShell LearningPowerShell.com
What is PowerShell? Monad is the next generation platform for administrative automation. Monad solves traditional management problems by leveraging the .Net Platform - Jeffrey Snover, 2002 • We are leaps and bounds ahead, already! LearningPowerShell.com
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
DEMO Text vs Object-based Shell LearningPowerShell.com
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
DEMO New Built-in Cmdlets and Enhancements New Tab Completion New Integrated Scripting Environment Updatable help Language and Syntax Simplification Show-Command LearningPowerShell.com
Takeaways PowerShell 3.0 is a step forward in datacenter automation. Features such as Workflows and robust sessions can help IT administrators in automating multi-machine management efficiently. New features simplify language to help beginners. This is the right to get started with PowerShell, LearningPowerShell.com
Q AND A LearningPowerShell.com
Getting Started with PowerShell PowerShell Bangalore User Group (@PSBUG) – 27th July, 2012 Ravikanth Chaganti http://twitter.com/ravikanth http://ravichaganti.com/blog LearningPowerShell.com
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
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
Understand PowerShell cmdlets • Pronounced as command-let • A lightweight command – Compiled Cmdlets – Script Cmdlets • Use Verb-Noun pairs LearningPowerShell.com
DEMO Understanding Cmdlets LearningPowerShell.com
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
DEMO Exploring PowerShell LearningPowerShell.com
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
DEMO PowerShell Execution Policies PowerShell Profiles LearningPowerShell.com
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
Q AND A LearningPowerShell.com

Introduction to PowerShell and getting started

  • 1.
    PowerShell Bangalore User Group(PSBUG) Inaugural meet – 28th, July 2012 http://twitter.com/psbug LearningPowerShell.com
  • 2.
    Agenda • Introduction to PowerShell • Getting Started with PowerShell • Break • From the Community! • Give aways • PSBUG - The road ahead! LearningPowerShell.com
  • 3.
    Introduction to PowerShell PowerShell Bangalore User Group (@PSBUG) – 27th July, 2012 Ravikanth Chaganti http://twitter.com/ravikanth http://ravichaganti.com/blog LearningPowerShell.com
  • 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.
    Sponsor – CodeOwls LLC Solving problems Automating solutions http://www.codeowls.com LearningPowerShell.com
  • 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.
    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.
    DEMO UI Prototyping SnoopShell LearningPowerShell.com
  • 9.
    What is PowerShell? Monadis the next generation platform for administrative automation. Monad solves traditional management problems by leveraging the .Net Platform - Jeffrey Snover, 2002 • We are leaps and bounds ahead, already! LearningPowerShell.com
  • 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.
    DEMO Text vs Object-basedShell LearningPowerShell.com
  • 12.
    What is inPowerShell 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.
    DEMO New Built-in Cmdletsand Enhancements New Tab Completion New Integrated Scripting Environment Updatable help Language and Syntax Simplification Show-Command LearningPowerShell.com
  • 14.
    Takeaways PowerShell 3.0 isa step forward in datacenter automation. Features such as Workflows and robust sessions can help IT administrators in automating multi-machine management efficiently. New features simplify language to help beginners. This is the right to get started with PowerShell, LearningPowerShell.com
  • 15.
    Q AND A LearningPowerShell.com
  • 16.
    Getting Started with PowerShell PowerShell Bangalore User Group (@PSBUG) – 27th July, 2012 Ravikanth Chaganti http://twitter.com/ravikanth http://ravichaganti.com/blog LearningPowerShell.com
  • 17.
    What do youneed? • 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.
    Choose the righttool! • 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.
    Understand PowerShell cmdlets • Pronounced as command-let • A lightweight command – Compiled Cmdlets – Script Cmdlets • Use Verb-Noun pairs LearningPowerShell.com
  • 20.
    DEMO Understanding Cmdlets LearningPowerShell.com
  • 21.
    Start with theShell • 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.
    DEMO Exploring PowerShell LearningPowerShell.com
  • 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.
    DEMO PowerShell Execution Policies PowerShellProfiles LearningPowerShell.com
  • 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.
    Q AND A LearningPowerShell.com