powershell in the enterprise - teched india 2011

18
PowerShell in the Enterprise Best Practices for adopting PowerShell as the automation platform

Upload: ravikanth-chaganti

Post on 07-Nov-2014

1.381 views

Category:

Technology


4 download

DESCRIPTION

This is the deck I used for TechED India 2011 session.

TRANSCRIPT

  • 1. PowerShell in the Enterprise
    Best Practices for adopting PowerShell as the automation platform
  • 2. About Me
    Work at Dell Inc.
    A Windows PowerShell MVP
    Author of:
    eGuide: A laymans guide to PowerShell 2.0 remoting
    eGuide: WMI Query Language via PowerShell
    SharePoint 2010 PowerShell cheat sheet (for Quest)
    Automation is my passion
  • 3. Agenda
    Introduction
    Challenges
    Deploying & Securing PowerShell
    Developing & Validating Scripts
    Tools for the job
    Q & A
  • 4. Giving Away..
    PowerGUI Pro
  • 5. Introduction
    Windows PowerShell?
    Microsoft Common Engineering Criteria*
    ..not just Microsoft anymore
    * http://www.microsoft.com/cec/en/us/cec-overview.aspx#man-windows
  • 6. Challenges
    Properly manage PowerShell
    Secure the IT environment
    Make automation effective
  • 7. Deploying PowerShell
    Available on Windows Server 2008 R2 and Windows 7, by default
    Available as an update (KB968929) for down level operating systems.
    Windows Update
    Standalone install
  • 8. Securing PowerShell
    What is script execution policy?
    Types of Execution Policy
    Restricted
    AllSigned
    RemoteSigned
    Unrestricted
    ByPass
    Signing scripts
  • 9. DEMO
    Securing PowerShell
    Execution policy and signing scripts
  • 10. Developing Scripts
    Start with the shell
    Think Objects, not text
    Implement scripting standards
    Look for code optimizations
    Include script documentation
    Include debug or verbose information
  • 11. DEMO
    Developing Scripts
    Object based shell and scripting standards
  • 12. Developing Scripts
    Dont re-invent the wheel
    PoshCode.Org
    Powershellcommunity.org
    #PowerShell
    Technet Scripts CenterForums
  • 13. Validating Scripts
    Validate in a non-production environment
    Script functionality
    Desired output
  • 14. Tools for the job
    Several script editors
    Windows PowerShell ISE
    PowerGUI Script Editor
    Idera PowerShellPlus
    DevFarm PowerSE
    Visual Studio for developing PowerShell Scripts
    PowerGUI VSX
    Develop Forms & WPF GUI
  • 15. DEMO
    Tools for the job
    Script editors and Visual Studio
  • 16. Summary
    Windows PowerShell is the futureof datacenter automation
    Best practices and recommendations make your environment effectiveand secure
    PowerShell community is growingand eager to help you
  • 17. Thank You
    Email: [email protected]
    Blog: http://www.ravichaganti.com/blog
    Twitter: http://www.twitter.com/ravikanth
  • 18. 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.