Automating microsoft azure powershell dhally 274 pdf

157 66 0
Automating microsoft azure powershell dhally 274 pdf

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

www.it-ebooks.info Automating Microsoft Azure with PowerShell Automate Microsoft Azure tasks using Windows PowerShell to take full control of your Microsoft Azure deployments John Chapman Aman Dhally BIRMINGHAM - MUMBAI www.it-ebooks.info Automating Microsoft Azure with PowerShell Copyright © 2015 Packt Publishing All rights reserved No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews Every effort has been made in the preparation of this book to ensure the accuracy of the information presented However, the information contained in this book is sold without warranty, either express or implied Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals However, Packt Publishing cannot guarantee the accuracy of this information First published: March 2015 Production reference: 1110315 Published by Packt Publishing Ltd Livery Place 35 Livery Street Birmingham B3 2PB, UK ISBN 978-1-78439-887-3 www.packtpub.com www.it-ebooks.info Credits Authors Project Coordinator John Chapman Shipra Chawhan Aman Dhally Proofreaders Simran Bhogal Reviewers Brian Denicola Stephen Copestake Chrissy LeMaire Indexer Dmitriy Kataskin Hemangini Bari Acquisition Editor Graphics Larissa Pinto Abhinash Sahu Content Development Editor Shweta Pant Technical Editor Shashank Desai Production Coordinator Melwyn D'sa Cover Work Melwyn D'sa Copy Editor Relin Hedly www.it-ebooks.info About the Author John Chapman is a software engineer in the Phoenix area Having also worked in the higher education, telecommunications, and enterprise software industries, John's development experience includes NET, SharePoint, Swift, Objective-C and other languages, markup, and platforms You can visit his website at http://www.johnchapman.net/ I would like to thank my wife, Simone Her support and patience have made what I have accomplished in my life possible www.it-ebooks.info About the Author Aman Dhally is a PowerShell MVP and founder of New Delhi PowerShell User Group He has more than 14 years of experience in the IT industry His main focus is the automation of manual tasks using PowerShell He came in to contact with PowerShell in 2010 Since then, he has published a wealth of articles, videos, blogs, and PowerShell scripts He loves teaching PowerShell and speaking at User Group events Aman works as a network analyst for Analysys Mason Limited, which he describes as a "cool" company to work for Here, he works on various IT projects, and his PowerShell skills bring a unique approach to solving IT issues and improving efficiency within the company He is fascinated by anything to with life: philosophy, self-help techniques, and biographies of famous people, which he finds inspiring In his free time, you will often find him reading a book on any of these subjects His philosophy can be summed up by his phrase: "You see a mousetrap, I see free cheese and a challenge!" www.it-ebooks.info Acknowledgments I would like to thank Waheguru Ji (the almighty God) With your blessings, I was able to complete this book I know you are always with me when I am lost or when I lose hope, and almost give up You hold my hand and show me the way I pray to you that you the same for every person in this world and bring love, peace, and harmony among mankind I dedicate this book to my beloved daughter, Manya Kaur, who is just two-and-ahalf years old at the time of writing this book One day, when you grow up, you'll be proud of your father I want you to make this world a better place by sharing your knowledge with others I love you and always will until eternity I would like to thank each and every member of the Dhally family who supported me throughout the process of writing this book You all are rockstars of my life I love you a lot and wouldn't be here without your support I am thankful to God for such a beautiful and loving family Special thanks to Ben Griffiths who introduced me to PowerShell in 2010, which changed my life I would like to dedicate this book to Ben too Thanks for always being there for me Many thanks to my lovely friends who always encouraged me and believed in me I would like to thank all my colleagues at the ICT department for their help and support Special thanks to my bosses, Rohan Dhamija and David Creighton, who taught me some of the most valuable lessons of life I am really thankful to Larissa and Shweta from Packt Publishing They are like angels, always supporting, encouraging, and inspiring; without their support, this book wouldn't have been published I would also like to thank all the reviewers, Brian Denicola, Chrissy LeMaire, and Dmitriy Kataskin for their support and help Finally, a big thanks to the readers for purchasing this book I hope you like it Keep dreaming, guys; they come true: "A! Murky Ana" www.it-ebooks.info This book is dedicated to my beloved daughter, Manya Kaur –Aman Dhally www.it-ebooks.info About the Reviewers Brian Denicola is an operations and database manager at a large professional services firm He has over 15 years of experience in IT and has been scripting PowerShell since Version was released way back in 2006 He has also been using Microsoft Azure on and off since 2008, but his main background is in SharePoint, which is how he stumbled on PowerShell When he is automating deployments, he loves to spend time with his wonderful wife, Nelie, and three boys, Xander, Gabriel, and Philip His Twitter handle is @brianjdenicola and his blog is http://quickanddirtyscripting.wordpress.com Chrissy LeMaire has worked in IT for nearly 20 years, and she currently serves as the SQL Server DBA for NATO Special Ops in Belgium Always an avid scripter, she attended the Monad session at Microsoft's Professional Developers Conference in Los Angeles back in 2005 and has worked and played with PowerShell ever since Chrissy is currently pursuing an MS in Systems Engineering at Regis University In her spare time, she tweets (@cl) and maintains two websites, https://blog netnerds.net/ and http://www.realcajunrecipes.com/ She also served as a technical reviewer for Windows PowerShell Cookbook, Lee Holmes, O'Reilly Media www.it-ebooks.info www.PacktPub.com Support files, eBooks, discount offers, and more For support files and downloads related to your book, please visit www.PacktPub.com Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy Get in touch with us at service@packtpub.com for more details At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks https://www2.packtpub.com/books/subscription/packtlib Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library Here, you can search, access, and read Packt's entire library of books Why subscribe? • Fully searchable across every book published by Packt • Copy and paste, print, and bookmark content • On demand and accessible via a web browser Free access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view entirely free books Simply use your login credentials for immediate access Instant updates on new Packt books Get notified! Find out when new books are published by following @PacktEnterprise on Twitter or the Packt Enterprise Facebook page www.it-ebooks.info Automating Azure with PowerShell Use the Set-AzureAutomationRunbookDefinition cmdlet to set the runbook workflow for the runbook we created in step 2: PS C:\> Set-AzureAutomationRunbookDefinition –Name |"PSAutomationStarter" –Path C:\Files\Azure\PSAutomationStarter.ps1 –AutomationAccountName psautomation -Overwrite Use the Publish-AzureAutomationRunbook cmdlet to publish the runbook workflow and make it available for use: PS C:\> Publish-AzureAutomationRunbook –Name PSAutomationStarter –AutomationAccountName psautomation Use the Start-AzureAutomationRunbook cmdlet to run the runbook workflow: PS C:\> Start-AzureAutomationRunbook –Name PSAutomationStarter –AutomationAccountName psautomation Use the Get-AzureAutomationJob cmdlet to check the status of the runbook workflow: PS C:\> Get-AzureAutomationJob –RunbookName PSAutomationStarter –AutomationAccountName psautomation [ 122 ] www.it-ebooks.info Chapter 10 10 If the status returns Completed, use the Get-AzureAutomationJobOutput cmdlet to retrieve the output from the runbook workflow, using the ID returned from the previous step: PS C:\> Get-AzureAutomationJobOutput –Id 9da91f24-e5c6-4864b85e-856ed87345a6 –Stream Any –AutomationAccountName psautomation 11 Use the New-AzureAutomationSchedule cmdlets to create a new schedule: PS C:\> New-AzureAutomationSchedule –Name "DailyReport" – StartTime (Get-Date).AddDays(1) –ExpiryTime (GetDate).AddDays(31) –Description "Daily report of VMs" – AutomationAccountName psautomation 12 Use the Register-AzureAutomationScheduledRunbook cmdlet to associate the runbook workflow with the newly created schedule: PS C:\> Register-AzureAutomationScheduledRunbook –ScheduleName "DailyReport" –Name "PSAutomationStarter" – AutomationAccountName psautomation 13 Use the Unregister-AzureAutomationScheduledRunbook cmdlet to remove the association with the schedule: PS C:\> Unregister-AzureAutomationScheduledRunbook – ScheduleName "DailyReport" –Name "PSAutomationStarter" – AutomationAccountName psautomation [ 123 ] www.it-ebooks.info Automating Azure with PowerShell 14 Use the Remove-AzureAutomationSchedule cmdlet to remove the schedule: PS C:\> Remove-AzureAutomationSchedule –Name "DailyReport" – 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:// azure.microsoft.com/blog/2014/07/03/azure-automation-in-depthrunbook-authoring/) • Azure Automation: Runbook Input, Output, and Nested Runbooks (http:// azure.microsoft.com/blog/2014/08/12/azure-automation-runbookinput-output-and-nested-runbooks/) • The New-Azure AutomationRunbook cmdlet (https://msdn.microsoft com/en-us/library/dn690272.aspx) • The Set-AzureAutomationRunbookDefinition cmdlet (https://msdn microsoft.com/en-us/library/dn690267.aspx) • The Publish-AzureAutomationRunbook cmdlet (https://msdn microsoft.com/en-us/library/dn690266.aspx) • The Start-AzureAutomationRunbook cmdlet (https://msdn.microsoft com/en-us/library/dn690259.aspx) • The Get-AzureAutomationJob cmdlet (https://msdn.microsoft.com/enus/library/dn690263.aspx) • The Get-AzureAutomationJobOutput cmdlet (https://msdn.microsoft com/en-us/library/dn690268.aspx) • The New-AzureAutomationSchedule cmdlet (https://msdn.microsoft com/en-us/library/dn690271.aspx) • The Register-AzureAutomationScheduledRunbook cmdlet (https:// msdn.microsoft.com/en-us/library/dn690265.aspx) • The Unregister-AzureAutomationScheduledRunbook cmdlet (https:// msdn.microsoft.com/en-us/library/dn690273.aspx) • The Remove-AzureAutomationSchedule cmdlet (https://msdn microsoft.com/en-us/library/dn690279.aspx) • The Remove-AzureAutomationRunbook cmdlet (https://msdn.microsoft com/en-us/library/dn690264.aspx) [ 124 ] www.it-ebooks.info Chapter 10 Summary Microsoft Azure Automation provides a framework to streamline, automate, and simplify complex and repetitive Azure management tasks In this chapter, we started out with creating a new Azure Automation account We then created and managed a simple Azure Automation runbook workflow Using these techniques, nearly any Microsoft Azure management task can be automated and scheduled Throughout this book, we explored how to use PowerShell to manage several Microsoft Azure services This book was by no means exhaustive There are many Azure services that we did not cover, such as RemoteApp, Machine Learning, Media Services, Service Bus, Visual Studio Online, and Operational Insights Microsoft is continually improving its existing services and features and simultaneously adding new ones We encourage you to explore and discover what Microsoft Azure has to offer Visit http://azure.microsoft.com/en-us/ to see all of the current Microsoft Azure offerings Keep yourself up-to-date with the latest Microsoft Azure announcements on the Microsoft Azure blog (http://azure.microsoft.com/ blog/) Also, check out the new and upcoming preview features of Microsoft Azure at http://azure.microsoft.com/en-us/services/preview/ We used Microsoft Azure PowerShell to accomplish most of the tasks throughout this book Microsoft Azure PowerShell is an open source project with new and updated cmdlets added every month to make managing Azure services with PowerShell more compelling, streamlined, and reproducible The agility of this toolset is made possible with the contributions of over one hundred contributors to the project from around the globe If you would like to contribute ideas, code, bug fixes, and so on to the Microsoft Azure PowerShell project, refer to the project on GitHub at https://github.com/Azure/azure-powershell Lastly, it's our sincere hope that the information in this book proves to be a valuable foundation for you in managing Microsoft Azure with PowerShell As you explore the additional capabilities of Microsoft Azure and Microsoft Azure PowerShell, it's more than likely that you will have questions The Microsoft Azure forums (https://social.msdn.microsoft.com/forums/azure/en-US/home) and Stack Overflow (http://stackoverflow.com/questions/tagged/azure) are excellent resources to discuss Microsoft Azure and Azure PowerShell with other IT and development professionals from around the world [ 125 ] www.it-ebooks.info www.it-ebooks.info Index A Add-AzureDataDisk cmdlet URL 48 Add-AzureTrafficManagerEndpoint cmdlet URL 87 Add-MsolGroupMember cmdlet URL 113 Add-Type cmdlet URL 34 Alexa URL 79 Azure Active Directory administrator account, creating 101-106 connecting to 100, 106 credentials, used for connecting to Azure 9, 10 domain, configuring 110 domain, creating 107-109 resources 107 users and groups bulk-import, with PowerShell 113-115 users and groups, managing 111, 112 Azure Blob storage about 20 resources 21 uses 20 Azure Blog storage illustrating 25, 26 permission levels 25 resources 26 using 25 Azure Cloud Service See  Microsoft Azure Cloud Service Azure File storage about 20 resources 21, 24 tasks, completing 23, 24 uses 20 versus Azure Blob storage 19 Azure management portal URL 17 Azure preview portal URL 17 Azure Queue storage about 28 queue, creating 28 resources 28 using 28 Azure SDK for NET URL 34 Azure storage account keys obtaining 21, 22 Azure Table storage about 26 components 27 resources 27 table, creating 27 using 26 Azure Virtual Network See  Microsoft Azure Virtual Network B backup creating, Azure storage used 29-34 Bing URL 79 [ 127 ] www.it-ebooks.info C G cloud-only virtual network 71 cmdlets configuration file, Azure Virtual Network creating 73, 74 resources 75 Confirm-MsolDomain cmdlet URL 109 Connect-MsolService cmdlet URL 107 cross-premises virtual network about 71 ExpressRoute 72 point-to-site VPN 72 site-to-site VPN 71 Get-AzureAutomationJob cmdlet URL 124 Get-AzureAutomationJobOutput cmdlet URL 124 Get-AzureLocation cmdlet URL 16 Get-AzureRemoteDesktopFile cmdlet URL 94 Get-AzureRole cmdlet URL 94 Get-AzureService cmdlet URL 94 Get-AzureSqlDatabase cmdlet URL 55 Get-AzureSqlDatabaseImportExportStatus cmdlet URL 62 Get-AzureStorageAccount cmdlet URL 19 Get-AzureStorageBlob cmdlet URL 47 Get-AzureStorageFile cmdlet URL 24 Get-AzureStorageKey cmdlet URL 22 Get-AzureTrafficManagerProfile cmdlet URL 87 Get-AzureVM cmdlet URL 44 Get-AzureVMImage cmdlet URL 40 Get-AzureVNetSite cmdlet URL 76 Get-AzureWebsite cmdlet URL 66 Get-AzureWebsiteLog cmdlet URL 69 Get-ChildItem cmdlet URL 35 Get-Credential cmdlet URL 56 Get-Date cmdlet URL 35 D deployment methods, Microsoft Azure website content 67 distributing methods, traffic failover 80 performance 80 round-robin 80 domain, Azure Active Directory configuring 110 creating 107-109 reference link 111 resources 109 Dropbox URL 67 E ExpressRoute 72 F ForEach-Object cmdlet URL 115 Format-List cmdlet URL 22 fully qualified domain name (FQDN) 108 [ 128 ] www.it-ebooks.info Get-MsolGroupMember cmdlet URL 113 Get-MsolPasswordPolicy cmdlet URL 110 H Hyper-V URL 39 I Import-Csv cmdlet URL 115 Internet Information Services (IIS) 68 Internet live stats URL 63 L load balancing about 79 Microsoft Azure website, creating for 81, 82 M management certificate with Microsoft Azure reference link Microsoft Azure about runbooks, creating 120-124 runbooks, managing 120-124 URL URL, for blog Microsoft Azure Active Directory Module URL 100 Microsoft Azure Automation account, creating 118-120 resources 124 Microsoft Azure Cloud Service about 89 Azure virtual machine, connecting to 91-94 creating 95-97 managing 95-97 resources 90, 97 Microsoft Azure connection, PowerShell used about Azure Active Directory credentials, connecting to 9-11 Microsoft Azure subscription Microsoft Azure subscription, connecting to publish settings file, using 11-13 software prerequisites Microsoft Azure PowerShell about installing Microsoft Azure SQL Databases about 51, 56 creating 56 exporting 60 importing 60 managing 56 queries, executing with 57-59 removing 62 resources 52 resources, for exporting/importing 61 Microsoft Azure SQL Database Server connecting to 52 connecting, with PowerShell 55, 56 creating 52 firewall rule, configuring 54, 55 provisioning 52, 53 Microsoft Azure storage account creating 18, 19 reference link 19 services 19 Microsoft Azure subscription URL 23 Microsoft Azure Traffic Manager about 80 profiles, creating 83-87 profiles, managing 83-87 resources 81 Microsoft Azure virtual machines about 38 connecting, to Azure Cloud Service 91-94 creating 39 images 38 [ 129 ] www.it-ebooks.info instance, creating 41, 42 instance, removing 49, 50 instances, listing 43, 44 key components 38 managing 43 resources 39 snapshot, creating 45, 46 state, managing 44 URL 39 virtual disk, assigning to 48 virtual disk, creating 47, 48 virtual disk, removing 49 virtual disks 38 virtual machine image, selecting 39 Microsoft Azure Virtual Network about 71 configuration, backing up 77 configuration, removing 78 configuration file, creating 73, 74 creating 72-76 managing 72-76 resources 72 virtual machine, creating 76 virtual networks 71 Microsoft Azure web hosting URL 63 Microsoft Azure website about 64 configuring 64-66 content, deploying 66 content, deploying from source control system 66 content, deploying from Visual Studio or WebMatrix 67 creating 64-66 creating, for load balancing 81, 82 creating, PowerShell used 14-16 managing 68, 69 resources 66 Microsoft Developer Network (MSDN) Microsoft Online Services Sign-In Assistant URL 100 Microsoft Visual Studio 67 Microsoft WebMatrix 67 N New-Azure AutomationRunbook cmdlet URL 124 New-AzureAutomationSchedule cmdlet URL 124 New-AzureQuickVM cmdlet URL 42 New-AzureSqlDatabase cmdlet URL 57 New-AzureSqlDatabaseFirewallRule cmdlet URL 55 New-AzureSqlDatabaseServer cmdlet URL 53 New-AzureSqlDatabaseServerContext cmdlet URL 56 New-AzureStorageAccount cmdlet URL 19 New-AzureStorageContainer cmdlet URL 26 New-AzureStorageContext cmdlet URL 24 New-AzureStorageDirectory cmdlet URL 24 New-AzureStorageQueue cmdlet URL 28 New-AzureStorageShare cmdlet URL 24 New-AzureStorageTable cmdlet URL 27 New-AzureTrafficManagerProfile cmdlet URL 87 New-AzureWebsite cmdlet URL 16 New-MsolDomain cmdlet URL 109 New-MsolGroup cmdlet URL 113 New-MsolUser cmdlet URL 112 New-Object cmdlet URL 35 no virtual network 71 [ 130 ] www.it-ebooks.info O runbooks about 117 creating, in Azure 120-124 managing, in Azure 120-124 resources 124 Office 365 99 organizational units (OUs) 111 P permission levels, Azure Blog storage blob 25 container 25 off 25 point-to-site VPN 72 PowerShell Community Extensions URL 35 PowerShell ISE Publish-AzureAutomationRunbook cmdlet URL 124 publish settings file used, for connecting to Azure 11-14 R Register-AzureAutomationScheduled Runbook cmdlet URL 124 Remote Desktop Protocol (RDP) URL 95 Remove-AzureAutomationRunbook cmdlet URL 124 Remove-AzureDataDisk cmdlet URL 48 Remove-AzureStorageAccount cmdlet URL 19 Remove-AzureTrafficManagerEndpoint cmdlet URL 87 Remove-AzureTrafficManagerProfile cmdlet URL 87 Remove-AzureVM cmdlet URL 50 Remove-AzureVNetConfig cmdlet URL 78 Remove-AzureWebsite cmdlet URL 69 Restart-AzureVM cmdlet URL 45 S Salesforce.com 99 Select-Object cmdlet URL 42 Server Message Block (SMB) protocol 20 Set-AzureAutomationRunbookDefinition cmdlet URL 124 Set-AzureStorageBlobContent cmdlet URL 26 Set-AzureStorageFileContent cmdlet URL 24 Set-AzureTrafficManagerProfile cmdlet URL 87 Set-AzureVNetConfig cmdlet URL 76 Set-AzureWebsite cmdlet URL 66 Set-Content cmdlet URL 24 Set-MsolGroup cmdlet URL 113 Set-MsolPasswordPolicy cmdlet URL 110 Set-MsolUser cmdlet URL 113 Show-AzureWebsite cmdlet URL 66 site-to-site VPN 71 software prerequisites, Microsoft Azure connection Microsoft Azure PowerShell Windows PowerShell 3.0 6, Start-AzureAutomationRunbook cmdlet URL 124 Start-AzureSqlDatabaseExport cmdlet URL 62 [ 131 ] www.it-ebooks.info Start-AzureSqlDatabaseImport cmdlet URL 62 Start-AzureStorageBlobCopy cmdlet URL 47 Start-AzureVM cmdlet URL 45 Start-AzureWebsite cmdlet URL 69 Stop-AzureVM cmdlet URL 45 Stop-AzureWebsite cmdlet URL 69 System.Data.DataTable class URL 60 System.Data.SqlClient.SqlCommand class URL 60 System.Data.SqlClient.SqlConnection class URL 60 System.Data.SqlClient.SqlDataAdapter class URL 60 U Unregister-AzureAutomation ScheduledRunbook cmdlet URL 124 Update-AzureVM cmdlet URL 49 users and groups, Azure Active Directory managing 111, 112 user traffic distributing methods 80 V virtual machine (VM) about 37 URL 39 virtual networks, Microsoft Azure Virtual Network cloud-only virtual network 71 cross-premises virtual network 71 no virtual network 71 Visual Studio online URL 66 W Where-Object cmdlet URL 40 Windows PowerShell about 2-4 cmdlets resources versions Windows PowerShell Integrated Scripting Environment See  PowerShell ISE Windows PowerShell Pipeline URL 22 [ 132 ] www.it-ebooks.info Thank you for buying Automating Microsoft Azure with PowerShell About Packt Publishing Packt, pronounced 'packed', published its first book, Mastering phpMyAdmin for Effective MySQL Management, in April 2004, and subsequently continued to specialize in publishing highly focused books on specific technologies and solutions Our books and publications share the experiences of your fellow IT professionals in adapting and customizing today's systems, applications, and frameworks Our solution-based books give you the knowledge and power to customize the software and technologies you're using to get the job done Packt books are more specific and less general than the IT books you have seen in the past Our unique business model allows us to bring you more focused information, giving you more of what you need to know, and less of what you don't Packt is a modern yet unique publishing company that focuses on producing quality, cutting-edge books for communities of developers, administrators, and newbies alike For more information, please visit our website at www.packtpub.com About Packt Enterprise In 2010, Packt launched two new brands, Packt Enterprise and Packt Open Source, in order to continue its focus on specialization This book is part of the Packt Enterprise brand, home to books published on enterprise software – software created by major vendors, including (but not limited to) IBM, Microsoft, and Oracle, often for use in other corporations Its titles will offer information relevant to a range of users of this software, including administrators, developers, architects, and end users Writing for Packt We welcome all inquiries from people who are interested in authoring Book proposals should be sent to author@packtpub.com If your book idea is still at an early stage and you would like to discuss it first before writing a formal book proposal, then please contact us; one of our commissioning editors will get in touch with you We're not just looking for published authors; if you have strong technical skills but no writing experience, our experienced editors can help you develop a writing career, or simply get some additional reward for your expertise www.it-ebooks.info PowerShell 3.0 Advanced Administration Handbook ISBN: 978-1-84968-642-6 Paperback: 370 pages A fast-paced PowerShell guide with real-world scenarios and detailed solutions Discover and understand the concept of Windows PowerShell 3.0 Learn the advanced topics and techniques for a professional PowerShell scripting Explore the secret of building custom PowerShell snap-ins and modules Take advantage of PowerShell integration capabilities with other technologies for better administration skills Microsoft Windows Azure Development Cookbook ISBN: 978-1-84968-222-0 Paperback: 392 pages Over 80 advanced recipes for developing scalable services with the Windows Azure platform Packed with practical, hands-on recipes for building advanced, scalable cloud-based services on the Windows Azure platform explained in detail to maximize your learning Extensive code samples showing how to use advanced features of Windows Azure blobs, tables, and queues Understand remote management of Azure services using the Windows Azure Service Management REST API Please check www.PacktPub.com for information on our titles www.it-ebooks.info Windows Azure Programming Patterns for Start-ups ISBN: 978-1-84968-560-3 Paperback: 292 pages A step-by-step guide to create easy solutions to build your business using Windows Azure services Explore the different features of Windows Azure and its unique concepts Get to know the Windows Azure platform by code snippets and samples by a single start-up scenario throughout the whole book A clean example scenario demonstrates the different Windows Azure features Instant Windows PowerShell ISBN: 978-1-84968-874-1 Paperback: 54 pages Manage and automate your Windows Server Environment efficiently using PowerShell Learn something new in an Instant! A short, fast, focused guide delivering immediate results Learn to use PowerShell web access to secure Windows management anywhere, any time, on any device Understand to secure and sign the scripts you write using the script signing feature in PowerShell Please check www.PacktPub.com for information on our titles www.it-ebooks.info www.it-ebooks.info ... http://www .microsoft. com/en-us/download/details.aspx?id=40855 Microsoft Azure PowerShell Microsoft Azure PowerShell installs a PowerShell module that provides the cmdlets used to manage Microsoft Azure The Microsoft Azure PowerShell project... with Azure and PowerShell Introducing Windows PowerShell Connecting to Microsoft Azure using PowerShell Microsoft Azure subscriptions Software prerequisites Windows PowerShell 3.0 or newer Microsoft. .. book Microsoft Azure PowerShell requires Microsoft Windows PowerShell 3.0 or a newer version running on Microsoft Windows 7 /Microsoft Windows Server 2008 R2 or newer Downloading Microsoft Azure PowerShell

Ngày đăng: 21/03/2019, 09:41

Mục lục

  • Chapter 1: Getting Started with Azure and PowerShell

    • Introducing Windows PowerShell

    • Connecting to Microsoft Azure using PowerShell

      • Microsoft Azure subscriptions

      • Connecting to a Microsoft Azure subscription

      • Connecting to Azure using Azure Active Directory credentials

      • Creating a Microsoft Azure website using PowerShell

      • Chapter 2: Managing Azure Storage with PowerShell

        • Creating a Microsoft Azure storage account

        • Azure File storage versus Azure Blob storage

          • Azure File storage

          • Getting the Azure storage account keys

          • Using Azure File storage

          • Using Azure Blog storage

          • Using Azure Table storage

          • Using Azure Queue storage

          • Chapter 3: Managing Azure Virtual Machines with PowerShell

            • Virtual machines in Microsoft Azure

            • Creating a Microsoft Azure virtual machine

              • Selecting a virtual machine image

              • Creating a virtual machine

              • Managing Microsoft Azure virtual machines

                • Listing the instances of Microsoft Azure virtual machines

                • Managing the state of Microsoft Azure virtual machine instances

                • Creating a snapshot of a Microsoft Azure virtual machine instance

                • Creating a new virtual disk and assigning it to a Microsoft Azure virtual machine instance

                • Removing a Microsoft Azure virtual machine instance

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan