Azure New DS14, attachment 800G Disk PowerShell command

Source: Internet
Author: User

The Web page is created first:

Virtual Cloud Service (ServiceName): Zampdmp-ds

Virtual Network (vnetname): az-dmpnetwork


To create a new DS13, the attachment 800G Disk PowerShell command is as follows:


New-azurestorageaccount-storageaccountname "Zampdmpds"-location "China East"-type "Premium_lrs"


Set-azuresubscription-subscriptionid 6fd78691-51f4-4087-a821-f******-currentstorageaccountname Zampdmpds


$VMImage = Get-azurevmimage-imagename f1179221e23b4dbb89e39d70e5bc9e72__openlogic-centos-67-20160415


New-azurevmconfig-name zampdmp-20-instancesize standard_ds14-imagename $VMImage. ImageName | Add-azureprovisioningconfig-linux-linuxuser azureuser-password "adag****" | Set-azuresubnet Subnet-1 | New-azurevm-servicename zampdmp-ds-vnetname az-dmpnetwork-location "China East"


Get-azurevm-name Zampdmp-20-servicename Zampdmp-ds | ADD-AZUREDATADISK-CREATENEW-DISKSIZEINGB 800-disklabel Verticassd01-lun 0-hostcaching None | Update-azurevm

Note: The SSD drive created uses LUN 0, starting from 0, incrementally.


Get-azuresubscription "Check the subscription details


Get virtual machine template file command:

Get-azurevmimage

Centos6.7 Template id:f1179221e23b4dbb89e39d70e5bc9e72__openlogic-centos-67-20160415


Delete an empty disk, you can attach to a virtual machine first, then delete the entire virtual machine and the disk, and finally delete the storage space with the following command

Remove-azurestorageaccount-storageaccountname "Dmpssdstorage"


This article comes from "Plum blossom fragrance from bitter cold!" "Blog, be sure to keep this provenance http://daixuan.blog.51cto.com/5426657/1840110

Azure New DS14, attachment 800G Disk PowerShell command

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.