Automating Microsoft Azure with Powershell

Automating Microsoft Azure with Powershell

Language: English

Pages: 176

ISBN: 178439887X

Format: PDF / Kindle (mobi) / ePub

Automate Microsoft Azure tasks using Windows PowerShell to take full control of your Microsoft Azure deployments

About This Book

  • Deploy and manage virtual machines, virtual networks, and an online database for application provisioning, maintenance, and high availability of your data
  • Upload your movies, data, and disk images to the cloud with just a single line of PowerShell code
  • A pragmatic guide full of hands-on examples on managing Microsoft Azure using PowerShell

Who This Book Is For

This book is designed to help administrators and developers better automate Azure management tasks. No prior knowledge of PowerShell is required.

What You Will Learn

  • Connect to Microsoft Azure with PowerShell
  • Manage storage blobs, tables, and queues with PowerShell
  • Create virtual machines with PowerShell
  • Query SQL databases with PowerShell
  • Deploy websites and cloud services with PowerShell
  • Create virtual networks and traffic manager profiles with PowerShell
  • Perform Active Directory management tasks with PowerShell
  • Automate complex tasks using automation runbooks

In Detail

This book is a one-stop guide on managing Microsoft Azure services using PowerShell. Administrators and developers will learn how to use PowerShell to create and manage Azure websites, virtual machines, SQL databases, and so on.

Starting with an introduction to Windows PowerShell, this book will assist you in connecting to Microsoft Azure with PowerShell. Next, the book covers how to create and manage Azure storage accounts, including file, blob, and table storage. Moving on, this book covers creating and managing Azure virtual machines, SQL databases, websites, virtual networks, traffic manager, cloud services, and Active Directory. Finally, this book covers how to automate complex tasks using Azure automation runbooks.

Group Policy: Fundamentals, Security, and the Managed Desktop (2nd Edition)

CCNA Routing and Switching Study Guide: Exams 100-101, 200-101, and 200-120

Python Network Programming Cookbook

Abstraction in Artificial Intelligence and Complex Systems

GPU Pro 7: Advanced Rendering Techniques












file section, we can now create the Azure Virtual Network. We will use the following steps to create a new Azure Virtual Network: 1. Open Microsoft Azure PowerShell from the Start menu and connect it to an Azure subscription. We must first be connected to Azure in order to work with Microsoft Azure Virtual Network instances. If not connected to Azure, refer to the Connecting to a Microsoft Azure subscription section in Chapter 1, Getting Started with Azure and PowerShell. 2. Use the

PowerShell, or refer to azure/dn495250.aspx. Summary Microsoft Azure Virtual Network provides a comprehensive and powerful mechanism to make Azure virtual machines and services part of an organization's infrastructure. While we did not specifically cover how to connect an on-premise network to Azure, we did cover the different types of virtual networks. In addition, we covered how to create and manage Azure Virtual Network configurations. In the next

AutomationAccountName psautomation 15. Use the Remove-AzureAutomationRunbook cmdlet to remove the runbook workflow: PC C:\> Remove-AzureAutomationRunbook –Name PSAutomationStarter –AutomationAccountName psautomation For more information about Microsoft Azure Automation, runbooks, and the cmdlets used in this section, refer to the following resources: • Microsoft Azure Automation in Depth: Runbook Authoring (http://

details.aspx?id=34595, and to download the Windows Management Framework 4.0 (which includes PowerShell 4.0), visit download/details.aspx?id=40855. While PowerShell 4.0 and higher are not required to manage Microsoft Azure, each subsequent version of PowerShell after 3.0 has enhanced the overall capabilities of the framework. To upgrade to a newer version of PowerShell, download the latest version of the Windows Management Framework. For more information about

account key information and assign it to a variable: PS C:\> $accountKey = Get-AzureStorageKey StorageAccountName psautomation [ 21 ] Managing Azure Storage with PowerShell 3. Use the Format-List cmdlet (PS C:\> $accountKey | Format-List – Property Primary,Secondary) to display the Primary and Secondary access key properties. Note that we are using the PowerShell pipeline to use the Format-List cmdlet on the $accountKey variable: 4. Assign one of the keys (Primary or Secondary) to a

Download sample