16
Automating Microsoft Azure with PowerShell MMS Minnesota 2014 Trevor Sullivan and David O’Brien – Microsoft MVP’s @pcgeek86 @david_obrien #MMSMinnesota #MMSConfigMgr #MMSLove

Automating Microsoft Azure with PowerShell MMS Minnesota 2014 Trevor Sullivan and David O’Brien – Microsoft MVP’s @pcgeek86 @david_obrien #MMSMinnesota

Embed Size (px)

Citation preview

MMS Minnesota 2014

Automating Microsoft Azure with PowerShell

Trevor Sullivan and David O’Brien – Microsoft MVP’s@pcgeek86 @david_obrien

#MMSMinnesota#MMSConfigMgr#MMSLove

MMS Minnesota 2014

Speaker Profile – David O’Brien

•MVP for Enterprise Client Management • Heavily focused on Automation• Blog: http://www.david-obrien.net • Twitter: @david_obrien• Principal Consultant at Dilignet in Melbourne

MMS Minnesota 2014

Speaker Profile – Trevor Sullivan

• Director of Training and Product Development @ Opsgility• Likes trying new craft beers• Passionate about spreading knowledge and awareness•Microsoft MVP for Windows PowerShell• http://trevorsullivan.net•@pcgeek86

Agenda

• Azure Infrastructure Overview• Automating Azure Infrastructure using PowerShell• Azure Automation feature overview• Azure Automation Runbook Authoring• Demos

What are we automating?

Microsoft Cloud PowerShell Modules

Azure Active Directory

(MSOnline)Azure Azure Resource

ManagerAzure Rights Management

SharePoint Online Lync Online Exchange Online

Setting up

Download Azure PowerShell

Install Azure PowerShell Configure Subscriptions

Sign up for Azure!

Azure Authentication

Active Directory• Interactive• Non-interactive

Management Certificate

What next?

Get Commands

Read Help

Execute Commands

Review Results

Azure SQL

SQL Server

Firewall Rules

SQL Server

Azure Virtual Networks

Virtual Network

DNS Server

IPv4 Address Space

DNS Server GatewaySubnet Subnet Gateway

SubnetInternet

Azure Storage

Storage Account

QueueTableBlobFiles

Storage Context

Get-Command -Module Azure -Name *storage*, *share*;

Azure Virtual Machines

Cloud Service

dc01(small)

dc02(small)

sql01(large)

sql02(large)

dsc01(medium)

exch01(large)

cm01(large)

ops01(large)

Image Gallery

Public IP / DNS Name

Infrastructure

Job notifications / State

Request

ResultsHTTP Request / Response

HTTP Request / Response

Azure Automation

Automation Account

Get-Command -Module Azure -Name *automation*;

Runbook Asset Runbook Job

Runbook Worker

Automating Microsoft Azure with PowerShell

EvaluationsPlease provide session feedback by clicking the Eval button in the scheduler app. One lucky winner will get a free ticket to the next MMS!

Visit all of our sponsors in the expo area and online!

Platinum Sponsors:

Gold Sponsors:

MMS Minnesota 2014

David O’Brien and Trevor Sullivan