Cloud Walk in Windows Azure PowerShell

Source: Internet
Author: User

The importance of PowerShell to the Microsoft platform I want everyone to know. The impression starts with Windows Server 2008 built-in PowerShell, to Exchange 2007 for the first PowerShell-enabled server platform, to future SharePoint, SQL Server, and system Center, and even client systems such as Windows 7/8, are all integrated with PowerShell modules at the bottom. It can be said that the graphical interface can do, PowerShell can do, whereas PowerShell can do, the graphical interface is not necessarily able to be fixed.


I myself in 2008 was honored to be involved in translating a book of PowerShell, if interested friends, can click here to buy. This book belongs to the Windows Server Resource Kit set, when it felt that the theme of the PowerShell is independent of the book, and can be included in the Resource kit set, enough to see the importance of PowerShell.


650) this.width=650; "src=" Http://img11.360buyimg.com/n1/19230/ef6e9665-5758-48b9-b609-be736d6442b6.jpg "width=" "Height=" "alt=" ef6e9665-5758-48b9-b609-be736d6442b6.jpg "border=" 0 "hspace=" 0 "vspace=" 0 "title=" "style=" width:300px;height:300px; "/>


Well, having said so much, actually want to introduce today's protagonist, Windows Azure PowerShell. In fact, the graphical interface of Windows Azure is doing quite well. There are 3 versions of the Portal alone: the old version that has been retired (PAAs period)-the version-preview version that is in service. In particular, the preview version of Windows Azure, looks like a lot of new features Ah, which I most value is Opinsights, is the cloud server private doctor Ah!


650) this.width=650; "Src=" http://windowsitpro.com/site-files/windowsitpro.com/files/imagecache/large_img/ Uploads/2014/11/operationalinsights.jpg "width=" 595 "height=" 335 "alt=" Operationalinsights.jpg "/>


So what's so special about Windows Azure's PowerShell compared to the portal?


For example, with Windows Azure Portal, we can build services through a wizard step-by-step, the most common of which is virtual machine services. And if you need to build more than 10 units at once? I dare to pack a ticket, the portal using the graphical interface is certainly not a good option.


And the best thing to do here is PowerShell, and the following three principles are required for PowerShell to use Windows Azure:


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/7F/wKioL1ScDHWD_TEQAAJMIO-0z0A530.jpg "title=" Capture.png "alt=" Wkiol1scdhwd_teqaajmio-0z0a530.jpg "/>


Install Windows Azure PowerShell module-Set up subscriptions-view mirroring , complete three, and you'll be able to quickly create a new virtual machine for Windows Azure.


The second part is particularly critical, more than the same as an account associated with multiple subscriptions, and some subscriptions may be the same default subscription name, such as the trial version of the "Free Trial", in the graphical interface we can easily choose a different subscription, The use of the Get-azuresubscription command in PowerShell found that subscription name is probably the same, this time we can use the edit Publishsettingfile method to set different aliases, Then you can import it with Import-azurepublishsettingsfile.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/7F/wKioL1ScDZnSZqZDAAR-fVg1Dm0625.jpg "title=" Capture2.png "alt=" Wkiol1scdznszqzdaar-fvg1dm0625.jpg "/>


Finally attach the command of the new virtual machine, is also 3 more important:


New-azurevmconfig

Add-azureprovisioningconfig

New-azurevm


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/82/wKiom1ScDZfC10ciAAI10yMMcSk625.jpg "title=" Capture3.png "alt=" Wkiom1scdzfc10ciaai10ymmcsk625.jpg "/>


Course preview: My Cloud Computing Series " Everyone loves cloud computing Windows Azure " will be launched on the 51CTO Education Channel after New Year's Day, so long as you buy a course, you will receive a $150 Windows Azure International account. Yes, the international version, not the domestic century Internet version Oh. Want to get started with cloud computing, follow Me.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/80/wKioL1ScEe_B-FanAAJtkxHSpGw972.jpg "title=" Capture4.png "alt=" Wkiol1scee_b-fanaajtkxhspgw972.jpg "/>

This article is from the "high-end Cloud computing Knowledge" blog, make sure to keep this source http://fandows.blog.51cto.com/395055/1596078

Cloud Walk in Windows Azure PowerShell

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.