Presentation is loading. Please wait.

Presentation is loading. Please wait.

POWERSHELL ABOVE AND BEYOND: GUIS, WORKFLOWS, AND MORE Dean Corcoran Partner Service Account Manager (Cloud) – MCT – MCITP:EA Microsoft Australia SESSION.

Similar presentations


Presentation on theme: "POWERSHELL ABOVE AND BEYOND: GUIS, WORKFLOWS, AND MORE Dean Corcoran Partner Service Account Manager (Cloud) – MCT – MCITP:EA Microsoft Australia SESSION."— Presentation transcript:

1

2 POWERSHELL ABOVE AND BEYOND: GUIS, WORKFLOWS, AND MORE Dean Corcoran Partner Service Account Manager (Cloud) – MCT – MCITP:EA Microsoft Australia SESSION CODE: # WSV316 (c) 2011 Microsoft. All rights reserved.

3 Agenda Lets 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.

4 AUTOMATION SESSION CODE: # WSV316 (c) 2011 Microsoft. All rights reserved.

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

6 Computers What 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

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

8 Automation What 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.

9 UP TO SPEED SESSION CODE: # WSV316 (c) 2011 Microsoft. All rights reserved. A brief overview of PowerShell

10 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.

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

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

13 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.

14 LETS GET OUR HANDS DIRTY SESSION CODE: # WSV316 (c) 2011 Microsoft. All rights reserved. Demo Demo Demo Demo Demo

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

16 Workflows ► Uses.Net Workflow capabilities ► http://powershellworkflow.codeplex.com/ http://powershellworkflow.codeplex.com/ (c) 2011 Microsoft. All rights reserved. Start1234End

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

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

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

20 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

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

22 © 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.


Download ppt "POWERSHELL ABOVE AND BEYOND: GUIS, WORKFLOWS, AND MORE Dean Corcoran Partner Service Account Manager (Cloud) – MCT – MCITP:EA Microsoft Australia SESSION."

Similar presentations


Ads by Google