Microsoft Ignite NZ 25-28 October 2016 SKYCITY, Auckland.

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

Windows 7 Training. Windows ® 7 Compatibility Installer Detection.
Node.js on Windows Azure Name Title Microsoft Corporation.
Feature: OLE Notes Migration Utility
Get more control & flexibility of the Windows Azure environment Developers IT Pros Easier migration of existing Windows applications to Windows Azure.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Windows Azure Connect Name Title Microsoft Corporation.
A Windows Azure application runs multiple instances of each role A Windows Azure application behaves correctly when.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

customer.
03 | Word Templates Brian Meier| Senior Lead Program Manager.
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
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
06 | Debugging and Deploying on Azure Stacey Mulcahy | Technical Evangelist Rami Sayar | Technical Evangelist.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
04 | Business Analyzer Brian Meier| Senior Lead 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
Building ARM IaaS Application Environment
TechReady 16 5/10/2018 Day 2, Session 4 Reaching the Summit: ITIL-integrated Self-Service in the Hybrid Cloud © 2013 Microsoft Corporation. All rights.
4/24/ :07 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Virtual Academy
Microsoft Ignite /17/ :54 PM BRK2092
Configuration Management with Azure Automation DSC
IT Operations Management
Microsoft Virtual Academy
Azure Primed Randy Pagels Sr. Developer Technology Specialist
Release Management with Visual Studio Team Services
SharePoint Online Management and Control
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.
11/11/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
DevOps Fundamentals Configuration Management
TechEd /21/2018 5:20 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Title of Presentation 12/2/2018 3:48 PM
Microsoft Virtual Academy
Microsoft Virtual Academy
Introduction to Building Applications with Windows Azure
12/28/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
System Center Application Management
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Private Cloud Deployment MCS service line Offering
MDC-B203 Deploying Applications in Microsoft System Center Virtual Machine Manager Using Services John Messec Program Manager Microsoft.
Microsoft Virtual Academy
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.
TechEd /23/2019 9:23 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
Microsoft Virtual Academy
Day 2, Session 2 Connecting System Center to the Public Cloud
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Virtual Academy
Office 365 Development July 2014.
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Welcome to Architect Insight 2010
利用IIS部署與維護 SOA應用程式的技巧
Day 1, Session 4 Building Your Service Catalog
Presentation transcript:

Microsoft Ignite NZ 25-28 October 2016 SKYCITY, Auckland

Automating Azure IaaS with PowerShell - Beyond the Azure PowerShell Module Neil Peterson @nepeters

Session Topics Azure PowerShell Module Azure VM Custom Script Extension Azure VM DSC Extension Azure Automation

Azure PowerShell Module

Azure PowerShell Module - update Current Version 3.0 Replaces 9.8 and introduces multiple modules (Azure and Azure RM). Switch-AzureMode has been removed.

What is Azure Resource Manager Azure Assets grouped into Resource Groups Unified management of related assets (delete, tag, ACL, etc..) Declarative model deployment JSON Template Visual Studio Integration While we can still deploy assets with PowerShell Commands, we can also deploy Resource Groups via PowerShell using the JSON template.

DEMO – Azure PowerShell Module

Azure VM Agent

Azure VM Agent Lightweight process used to manage VM Extensions Optional Extension to Azure VM Enabled by default Support for Windows and Linux

Azure VM Extensions Provide dynamic features, supplied by Microsoft and third parties, executed by the Azure VM Agent. Azure VM Agent installs, configure and execute extensions Extensions added through portal, PowerShell, or Azure CLI Can be run against existing or new VM’s

Sample Extensions Custom Script Extension – executes PowerShell script locally on the VM. DSC Extension – PowerShell DSC Extension. BgInfo Extension – enabled by default, installs and configures Sysinternals BgInfo. Access Extension – manage remote desktop and local administrator account. Chef Extension – creates a Chef client. Diagnostic Extension – enables, disables and configures Azure diagnostics. MS Enterprise Application Extensions – implements features supported by System Center. Puppet Extension – implements Puppet features.

VM Custom Script Extension

Azure VM Custom Script Extension Scripts copied to VM and executed locally. Prerequisites: Azure VM Agent must be running. Must be using Azure PS module 8.0 or higher. Scripts must be uploaded to blob storage or accessible location (GitHub). Multiple script’s must be ‘chained’ in code, only one is executed by extension.

Azure VM Custom Script Extension Why Azure VM Custom Script Extension: Execute scripts on existing Azure VMs without the need of an Endpoint or PowerShell Remoting. Execute script on new VM’s at build time. Process: Create script and upload to Azure Blob storage or other storage. Use Set-AzureRMVMCustomScriptExecution to execute script.

DEMO – VM Custom Script Extension

VM DSC Extension

PowerShell DSC PowerShell language extension used to declaratively specify, apply and maintain software configuration. Examples Use Cases: Enable server roles and features Manage registry, WMI, files and folders Manage User, Groups, and Security Deploy Software Detect and remediate configuration drift

Azure VM DSC Extension Upload and apply a PowerShell DSC configuration to a new or existing Azure VM. Prerequisites: Azure VM Agent must be running. Must be using Azure PS module 8.0 or higher. DSC configuration script and DSC resources must be published to Azure blob storage or other accessible location (GitHub). VM PowerShell DSC extension must be configured on VM.

Azure VM DSC Extension Why Azure DSC Extension: Apply DSC configuration to existing VM. Apply DSC configuration to new VM’s at build time – think about the possibilities. Process: Create DSC configuration. Publish configuration to Azure using Publish-AzureRMVMDscConfiguration. Execute using Set-AzureRMVMDscExtension. Monitor application using Get-AzureRMVMDscExtension.

DEMO – VM Extensions

Azure Automation

Azure Automation Introduction Azure automation is an Azure hosted Runbook / technical workflow system. Can be used for Azure management Jobs can be scheduled Automation language is PowerShell Workflow Contains secure repository for credentials and connection details

What is PowerShell Workflow 11/15/2018 What is PowerShell Workflow Introduced with PowerShell 3.0. Common PowerShell syntax and development experience. Utilizes Windows Workflow Foundation (WF). Includes capabilities that PowerShell does not: Checkpoint Suspend © 2014 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.

Azure Automation Sample Stop all VM’s

DEMO – Azure Automation

11/15/2018 1:12 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.