Azure PowerShell (10) Use PowerShell to export the high availability of all azure VMS and cloud service under a subscription

Source: Internet
Author: User

Windows Azure Platform Family of articles Catalog

This article describes the domestic Azure China service by century connected operation.

The script is in the Http://files.cnblogs.com/files/threestone/SingleInstanceVM.rar

  

Operating Prerequisites:

1. We need an account for Azure China

2. Several virtual machines and cloud Service are deployed under the Azure China account

3. We also need to download Azure PowerShell

How to run the PowerShell

1. First we download the script to the root directory of the C drive, unzip it, get the Singleinstancevm.ps1 file

2. run Azure PowerShell as an administrator

3. Run CD C:

Set directory to C packing directory

4. Run. \singleinstancevm.ps1

5. The system will ask us to enter a username and password, we enter the user name and password information for Azure China

6.Azure PowerShell automatically executes for a period of time until the end of execution and the interface displays ' Export virtual machine information complete '

7. Finally we will get the C:\vmlist.csv file in the C packing directory, we double click to open

8. Observation:

Under the same cloud service, type is virtual machine.

-There is only one virtual machine, there is no SLA for this azure service

-There are 2 or more virtual machine, but the availablity Set is not configured, the Azure service does not have an SLA

- with 2 or more virtual machine configured with the same availablity Set, this azure service has an SLA

Under the same cloud service, type is a cloud service with only one instance, there is no SLA for this azure PAAs service

  Under the same cloud service, type is a cloud service with 2 or more than 2 instance, this Azure PAAs service has an SLA

Azure PowerShell (10) Use PowerShell to export the high availability of all azure VMS and cloud service under a subscription

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.