Azure Technology 07-Virtual machines-Reset virtual machine passwords

Source: Internet
Author: User

now especially we do IT this line of need to remember the password is simply too much, the major bank Savings card, credit card password, QQ , password, email password, Weibo account password, as well as the company's business system password some long time without the possibility will forget, can only reset!!

forget the server's administrator password, it is very common, nearly half a year has 3 a client said Azure on the virtual machine password forgot, let me help to deal with it, write down the reset Azure the method of virtual machine password!

first of all, it is customary to pilot out publishsettings file, login account

then use GET-AZUREVM

get to the virtual machine in the subscription, this time I reset VM01 The password for this virtual machine


650) this.width=650; "Width=" 942 "height=" title= "1.png" style= "Width:720px;height:385px;float:none;" alt= " Wkiol1ycd1kwejubaaswxx_uiny114.jpg "src=" Http://s3.51cto.com/wyfs02/M00/74/65/wKioL1Ycd1KwEjubAASWxx_uiNY114.jpg "/>


enter the following command to get to the specified VMS

$VM 1 = get-azurevm-servicename "xxxx"-name "xxxx"

650) this.width=650; "title=" 2.png "style=" Float:none; "alt=" wkiom1ycdztbtq92aaces0xxyke533.jpg "src=" http:/ S3.51cto.com/wyfs02/m01/74/68/wkiom1ycdztbtq92aaces0xxyke533.jpg "/>


enter the following command to check VMS whether the agent is installed, if the agent output is installed, the results are displayed "true"

Enter the command $vm1. Vm. Provisionguestagent View output is "true"

650) this.width=650; "title=" 3.png "style=" Float:none; "alt=" wkiol1ycd1lc0q3caaauilh8gho599.jpg "src=" http:/ S3.51cto.com/wyfs02/m00/74/65/wkiol1ycd1lc0q3caaauilh8gho599.jpg "/>


Finally, enter the following command to change the password for the specified virtual machine

SET-AZUREVMACCESSEXTENSION-VM $VM UserName "Adminaccountname" – Password "NewPassword" | UPDATE-AZUREVM

650) this.width=650; "Width=" 910 "height=" 142 "title=" 4.png "style=" Width:689px;height:105px;float:none; "alt=" Wkiol1ycd1kcusn8aafossgoq9s496.jpg "src=" Http://s3.51cto.com/wyfs02/M01/74/65/wKioL1Ycd1KCuSN8AAFossgOQ9s496.jpg "/>

Finally, you can log in to the virtual machine with a new password!


This article is from the "Arvin Technology blog" blog, make sure to keep this source http://arvinwang.blog.51cto.com/345018/1702454

Azure Technology 07-Virtual machines-Reset virtual machine passwords

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.