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
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
9. 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
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
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. DEMO
New Built-in Cmdlets and Enhancements
New Tab Completion
New Integrated Scripting Environment
Updatable help
Language and Syntax Simplification
Show-Command
LearningPowerShell.com
14. 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
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 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. 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. Understand PowerShell
cmdlets
• Pronounced as command-let
• A lightweight command
– Compiled Cmdlets
– Script Cmdlets
• Use Verb-Noun pairs
LearningPowerShell.com
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
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
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