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

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

Dec 21, 2015

Download

Documents

Aron Fletcher
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Automating Microsoft Azure with PowerShell MMS Minnesota 2014 Trevor Sullivan and David O’Brien – Microsoft MVP’s @pcgeek86 @david_obrien #MMSMinnesota.

MMS Minnesota 2014

Automating Microsoft Azure with PowerShell

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

#MMSMinnesota#MMSConfigMgr#MMSLove

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

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

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

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

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

Agenda

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

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

What are we automating?

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

Microsoft Cloud PowerShell Modules

Azure Active Directory

(MSOnline)Azure Azure Resource

ManagerAzure Rights Management

SharePoint Online Lync Online Exchange Online

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

Setting up

Download Azure PowerShell

Install Azure PowerShell Configure Subscriptions

Sign up for Azure!

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

Azure Authentication

Active Directory• Interactive• Non-interactive

Management Certificate

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

What next?

Get Commands

Read Help

Execute Commands

Review Results

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

Azure SQL

SQL Server

Firewall Rules

SQL Server

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

Azure Virtual Networks

Virtual Network

DNS Server

IPv4 Address Space

DNS Server GatewaySubnet Subnet Gateway

SubnetInternet

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

Azure Storage

Storage Account

QueueTableBlobFiles

Storage Context

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

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

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

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

Infrastructure

Job notifications / State

Request

ResultsHTTP Request / Response

HTTP Request / Response

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

Azure Automation

Automation Account

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

Runbook Asset Runbook Job

Runbook Worker

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

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