1 / 22

PowerShell Above and Beyond: GUIs, Workflows, and More

SESSION CODE: # WSV316. Dean Corcoran Partner Service Account Manager (Cloud) – MCT – MCITP:EA Microsoft Australia. PowerShell Above and Beyond: GUIs, Workflows, and More. Agenda Lets make us PowerShell rock stars. Automation Why are we here? Up to speed

carter
Download Presentation

PowerShell Above and Beyond: GUIs, Workflows, and More

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. SESSION CODE: # WSV316 Dean Corcoran Partner Service Account Manager (Cloud) – MCT – MCITP:EA Microsoft Australia PowerShell Above and Beyond: GUIs, Workflows, and More (c) 2011 Microsoft. All rights reserved.

  2. AgendaLets make us PowerShell rock stars • Automation • Why are we here? • Up to speed • A quick PowerShell overview for new comers • Get our hands Dirty • Review • GUIs • Workflows • WMI • APIs (c) 2011 Microsoft. All rights reserved.

  3. SESSION CODE: # WSV316 Automation (c) 2011 Microsoft. All rights reserved.

  4. ComputersWhat are they here for? • Computers tirelessly perform highly repetitive tasks. (c) 2011 Microsoft. All rights reserved. Image from www.robotreviews.com

  5. ComputersWhat are they here for? • We require an understanding so they can be a useful tool.. (c) 2011 Microsoft. All rights reserved. Image from Movie Terminator 3

  6. The Infrastructure Optimisation Model Basic Rationalised Standardised Dynamic Uncoordinated, manual infrastructure Managed and consolidated IT infrastructure with extensiveautomation; knowledge captured and reused Fully automated management, dynamic resource usage, business linked SLAs; knowledge capture Managed IT infrastructure with limited automation and knowledge capture Cost Centre Business Enabler Infrastructure Maturity Efficient Cost Centre Strategic Asset Cost Service Levels Agility

  7. AutomationWhat does this really mean? • Automation = increased efficiency • Efficiency = less time/$ and/or increased output • Increased output = $$$ • More time = More work or more play (you choose) • Dynamic IT = IT reacts to business conditions Put simply you can be one of the low paid masses or you can be the higher paid controller of masses.  (c) 2011 Microsoft. All rights reserved.

  8. SESSION CODE: # WSV316 A brief overview of PowerShell Up To Speed (c) 2011 Microsoft. All rights reserved.

  9. What is PowerShell??? • Microsoft’s strategic automation platform • Implements a revolutionary scripting language • Includes a set of default interactive shells and basic commands • Windows PowerShell console host • Windows PowerShell Integrated Scripting Environment (ISE) • Provides hosting and extension APIs • Embed PowerShell engine into other applications, including GUIs • Expand default functionality with custom cmdlets, providers, etc. • Adapts many type systems and data formats to a common user experience • PowerShell enables IT Pros to create their own solutions (c) 2011 Microsoft. All rights reserved.

  10. .NET VB C# JScript C++ PowerShell Common Language Specification Application Class Libraries and Services Base Class Library Common Language Runtime (CLR) Operating System with APIs (c) 2011 Microsoft. All rights reserved.

  11. http://blogs.msdn.com/brada/archive/2008/10/29/net-framework-4-poster.aspxhttp://blogs.msdn.com/brada/archive/2008/10/29/net-framework-4-poster.aspx (c) 2011 Microsoft. All rights reserved.

  12. For Starters • Existing CMD commands / batches / VBS work • Many Unix commands work • ls, ps, cat, man, cp, tee, mv, grep, kill, etc…. • Native Object Oriented Pipeline eliminates grep • Commands are CMDLETS • verb-noun naming convention • Hyphen used for parameters eg: Get-Process -Name –Module • Aliases • Get-Help • Did I mention Get-Help ? ? ? ? (c) 2011 Microsoft. All rights reserved.

  13. SESSION CODE: # WSV316 Demo DemoDemoDemoDemo Lets Get Our Hands Dirty (c) 2011 Microsoft. All rights reserved.

  14. GUIs • No MS “Visual PowerShell” capability available • Must leverage .Net Forms and Drawing Namespaces Demo (c) 2011 Microsoft. All rights reserved.

  15. Workflows • Uses .Net Workflow capabilities • http://powershellworkflow.codeplex.com/ Demo (c) 2011 Microsoft. All rights reserved.

  16. WMI • PowerShell has Excellent WMI capabilities • Must understand CIM to implement well • Get-WmiObject or gwmi Demo (c) 2011 Microsoft. All rights reserved.

  17. Executable Code • Embed PowerShell Scripts into .Net code to create an executable. • Must use System.management.automation namespace in your project Demo (c) 2011 Microsoft. All rights reserved.

  18. So you love Scripting? • Try it on a Windows Phone…. • https://www.touchdevelop.com/ (c) 2011 Microsoft. All rights reserved.

  19. Enrol in Microsoft Virtual Academy Today Why Enroll, other than it being free? The MVA helps improve your IT skill set and advance your career with a free, easy to access training portal that allows you to learn at your own pace, focusing on Microsoft technologies. • What Do I get for enrolment? • Free training to make you become the Cloud-Hero in my Organization • Help mastering your Training Path and get the recognition • Connect with other IT Pros and discuss The Cloud Where do I Enrol? www.microsoftvirtualacademy.com Then tell us what you think. TellTheDean@microsoft.com

  20. Resources • www.msteched.com/Australia • Sessions On-Demand & Community • www.microsoft.com/australia/learning • Microsoft Certification & Training Resources • http:// technet.microsoft.com/en-au • Resources for IT Professionals • http://msdn.microsoft.com/en-au • Resources for Developers (c) 2011 Microsoft. All rights reserved.

  21. © 2010 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. (c) 2011 Microsoft. All rights reserved.

More Related