Ed Wilson @Scriptingguys OMS Team 5/29/2018 1:05 PM PowerShell as a Service Managing clouds, Windows, Linux, on-premises or public with Microsoft Operations.

Slides:



Advertisements
Similar presentations
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

Integrate into existing systems with PowerShell integration modules Extend by building PS modules to enable integrating into other systems Optimize.
Session 1.
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
Automating Operational and Management Tasks in Microsoft Operations Management Suite and Azure
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
Long Live Azure Automation!Long Live Azure Automation! Cloud-first Configuration Management and Automation Beth Cooper Program Manager.
IT Operations Management
1/27/2018 5:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Run Azure Services in your datacenter
IT Operations Management
Hybrid Management and Security
Building ARM IaaS Application Environment
0 to DevOps. 0 to DevOps Who am I? Donovan Brown Fun Stuff 5/7/2018 Who am I? Donovan Brown Principal DevOps Manager.
Accelerate your DevOps with OpenShift by Red Hat
5/22/2018 1:39 AM BRK2156 Power BI Report Server: Self-service BI and enterprise reporting on-premises Christopher Finlan Senior Program Manager © Microsoft.
Azure on Steroids: Full Automation with PowerShell
MIX 09 5/29/ :31 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Hybrid Management and Security
Microsoft Operations Management Suite Insight and Analytics
Configure and Manage Your Hybrid Cloud Environment at Scale
Microsoft Azure: The only consistent Hybrid Cloud
Developing Hybrid Apps on Microsoft Azure Stack
Microsoft Ignite /17/ :54 PM BRK2092
IT Operations Management
Configuration Management with Azure Automation DSC
Microsoft Ignite /31/ :08 AM
Red Hat OpenShift on Azure
Configuration Management with Azure Automation DSC
IT Operations Management
9/11/2018 9:55 PM BRK3129 Manage hybrid cloud and transform your workplace with PowerShell and Azure Automation Eamon O'Reilly, Hemant Mahawar, and Joey.
Automate all things! Microsoft Azure continuous deployment
Azure Primed Randy Pagels Sr. Developer Technology Specialist
Release Management with Visual Studio Team Services
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Private Cloud Deployment MCS service line Offering
11/8/2018 2:35 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
Azure PowerShell Aaron Roney Senior Program Manager Cormac McCarthy
DevOps Fundamentals Configuration Management
11/13/2018 3:26 PM MDC317B Complex Maintenance with Configuration Manager and Orchestrator – Patching Clusters Neil Peterson © 2013 Microsoft Corporation.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
11/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
持續的產出Windows Azure 雲端服務
Microsoft Virtual Academy
TechEd /21/2018 3:13 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /21/2018 5:20 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Azure AD Domain Services
Ed oms team OMS: Log Analytics Ed oms team.
Mobile Center and VSTS:​ Better together for your Mobile DevOps
Release Management with Visual Studio Team Services
Build /2/ The future of Azure devops: Building and managing cloud applications lifecycle across your teams Bradley Millington Program.
Title of Presentation 12/2/2018 3:48 PM
Introduction to Building Applications with Windows Azure
Private Cloud Deployment MCS service line Offering
Building and running HPC apps in Windows Azure
TechEd /28/2019 3:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Virtual Academy
Silverlight Debugging
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Microsoft Virtual Academy
Title of Presentation 5/24/2019 1:26 PM
Day 2, Session 2 Connecting System Center to the Public Cloud
Microsoft Virtual Academy
Microsoft Virtual Academy
Miao Jiang API Management: deep dive - Part 1
Presentation transcript:

Ed Wilson @Scriptingguys OMS Team 5/29/2018 1:05 PM PowerShell as a Service Managing clouds, Windows, Linux, on-premises or public with Microsoft Operations Management Suite Ed Wilson @Scriptingguys OMS Team © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Session Objectives And Takeaways Tech Ready 15 5/29/2018 Session Objectives And Takeaways Session Objectives: Why bring PowerShell automation to the cloud What core capabilities does the automation service provide How to bring your investments in PowerShell to the automation service Integrating automation into the other Operations Management Suite / Azure services / on- premises environments Extending Automation with Modules / SDK / ARM Takeaways: We are deeply invested in PowerShell and DSC as we bring these capabilities to the cloud. Automation is dependent on the community and the shared content. Please continue to be involved and let us know how we can help from engineering team. Ed © 2012 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.

Automation Trend Adopt Cloud Technologies Modern Management 5/29/2018 1:05 PM Automation Trend Adopt Cloud Technologies Modern Management Integrate into different cloud providers Enable self service of IT offerings Enable DevOps (Infrastructure as code) Management as a Service Heterogeneous environments Automation at scale Eamon © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Configuration & Automation Managing across the entire lifecycle . SUBSCRIPTION COST POLICY PACKAGING DEVOPS TOOLING CONFIG PROTECT MONITOR SECURE GOVERN BUILD Configuration & Automation PATCHING CONFIG MONITORING ORCHESTRATION DETECT PREVENT BACKUP RECOVERY ALERTS DISCOVERY ANALYTICS

Automation Account Overview 5/29/2018 1:05 PM Automation Account Overview DEMO: Automation Account Overview © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Creating an Automation Account 5/29/2018 1:05 PM Creating an Automation Account DEMO: Creating an automation account, a variable and a credential © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Cloud Configuration & Automation 5/29/2018 1:05 PM Cloud Configuration & Automation One Automation Solution for datacenter, private, and public clouds User Interface Web portal Access Permissions (RBAC) Source control & versioning Authoring Graphical Authoring to visualize end-to-end orchestration PowerShell Authoring Gallery PowerShell Desired State Configuration support Runbook Engine Highly available PowerShell-Workflow-based engine Hybrid runbook worker to enable management across public and private clouds. REST web service and PowerShell modules to enable integration from 3rd party systems / web portals Integration Based on PowerShell modules with a rich ecosystem Use existing PowerShell modules for Microsoft and 3rd party systems Create PowerShell modules for additional resources/systems Webhooks Tools Tools to convert Orchestrator Integration Packs and runbooks and import into Azure Automation Eamon © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Moving your investments to the cloud 5/29/2018 1:05 PM Moving your investments to the cloud Bring your scripts into the service Taking advantage of automation assets Modularize your scripts to enable easier reuse Taking advantage of scheduler to trigger your automation Using PowerShell workflow or PowerShell native scripts Require checkpoints within your process or making Runbooks idempotent Require parallel capabilities or leveraging Start-AzureRMAutomationRunbook Authoring in the ISE or within the service ISE offers richer debugging / intellisense / offline / additional add-on capabilities Web authoring allows for easy access on any device / OS. Ed © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo writing output 5/29/2018 1:05 PM DEMO: Create, Run, Publish runbook illustrating writing output © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Integrating into other OMS / Azure services 5/29/2018 1:05 PM Integrating into other OMS / Azure services Integration with Log Analytics Trigger automation based on search results. Querying Log Analytics from automation service Azure Site Recovery pre & post scripts Before failover, run automation runbook to do any pre work required After failover, run automation runbook to ensure failover is successful. Azure Alerts integration Trigger any runbook based on VM alert leveraging webhooks Run system runbooks automatically based on VM alerts Eamon © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Scheduling Runbooks

View Job Results

Configure Alerts

Extending Automation: Modules / SDK / ARM 5/29/2018 1:05 PM Extending Automation: Modules / SDK / ARM Authoring your own PowerShell Modules Standard guidelines when writing modules Ensure all dependencies are within the module so it is xcopyable Automation option json file to create connection object to make it easier to define common values to use when managing the system. Using the SDK / REST API https://www.nuget.org/packages/Microsoft.Azure.Management.Automation/2.0.0 Look at ISE Add-On for example usage on GitHub Authoring with Azure Resource Manager See examples on https://github.com/azureautomation/automation-packs Eamon © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

In Review: Session Objectives And Takeaways Tech Ready 15 5/29/2018 In Review: Session Objectives And Takeaways Session Objectives: Why bring PowerShell automation to the cloud What core capabilities does the automation service provide How to bring your investments in PowerShell to the automation service Integrating automation into the other Operations Management Suite / Azure services Takeaways: We are deeply invested in PowerShell and DSC as we bring these capabilities to the cloud. Automation is dependent on the community and the shared content. Please continue to be involved and let us know how we can help from engineering team. Ed © 2012 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.

Join the Monthly Automation calls If interested, see us later to be added to the monthly invite. Eamon

OMS Team blog Http://aka.ms/omsblog

Try OMS Http:/Aka.ms/getoms

PowerShell Open Source Created by Neema Saeedi (neemas) for presentation to Microsoft IT, Service Deployment and Operations Team Notes attached to slides. Additional Resources mentioned: PowerShell Gallery - https://www.powershellgallery.com/ WMF 5.0 Preview April 2015 - http://www.microsoft.com/en-us/download/details.aspx?id=46889

PowerShell Sustained Investment 5/29/2018 PowerShell Sustained Investment 2006: PowerShell v1  2016: PowerShell v5 WMF provides downlevel support Windows not has over 3000 cmdlets Not just a shell: task-based scripting language Desired State Configuration Pester Moving beyond Windows: PowerShell Gallery Azure Automation © 2015 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

What’s going on Availability of PowerShell on Linux and Mac 5/29/2018 What’s going on Availability of PowerShell on Linux and Mac Ubuntu 14.04/16.04 CentOS 7.1 RHEL 7 Mac OS X 10.11 We’re open sourcing Windows PowerShell (.NET) and PowerShell Core (.NET Core) Single codebase for Windows and *nix editions Alpha / developer preview builds w/ community support One repository: https://github.com/PowerShell/PowerShell MIT License © 2015 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

PowerShell is cool and unique PowerShell Core enables heterogeneous management Azure, AWS, VMWare, Chef OpenSSH (including PSRP support) PowerShell and Microsoft are good citizens in a Linux world Easy to wrap native Linux binaries (crontab, Python) Templatizing configuration files (Apache) Editor Services working with multiple editors (VS Code, Sublime Text) PowerShell is cool and unique Structured data as objects REALLY easy to wrap native Linux binaries that output JSON (journalctl) Awesome as a REST shell

5/29/2018 1:05 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.