通过VM Agent为虚机重置密码
来源:互联网 发布:java classloader 编辑:程序博客网 时间:2024/06/10 19:31
在今年3月新发布的Azure版本中,新增了为虚机重置管理员密码的功能。如何为虚机重置密码?
1. 通过管理界面创建虚机时,选中"VM代理"
2. 之后,我们需要通过PowerShell来重置虚机密码。
2.1 下载安装PowerShell: http://go.microsoft.com/fwlink/p/?linkid=320376&clcid=0x409 。了解如何使用Windows Azure PowerShell, 访问:http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/ .
2.2 运行下面的命令重置密码
我们也可以通过下面的一组命令来实现密码重置:
$adminCredentials = Get-Credential -UserName azureuser -Message "input password here"$VM = Get-AzureVM -Name wysVMAgentTest -ServiceName shirleyvmsSet-AzureVMAccessExtension -VM $VM -UserName $adminCredentials.UserName -Password $adminCredentials.GetNetworkCredential().Password -ReferenceName "VMAccessAgent" | Update-AzureVMRestart-AzureVM -ServiceName shirleyvms -Name wysVMAgentTest
0 0
- 通过VM Agent为虚机重置密码
- 通过光盘重置administrator账号密码
- 重置Sybase的sa密码为NULL
- 为所有指定用户重置密码
- 密码重置
- 重置密码
- 密码重置
- 密码重置
- 重置mysql密码(win7,mysql5.6测试通过)
- 如何通过Wndowns登录重置Sql Express密码(Windows7+UAC)
- java web通过163邮箱重置登录密码
- netBeans 点击重置按钮 通过密保问题重置密码Java代码
- 通过http user-agent判断是否为手机浏览器
- 通过http user-agent判断是否为手机浏览器
- 通过http user-agent判断是否为手机浏览器
- 通过http user-agent判断是否为手机浏览器
- Mac10.9机重置root密码
- VM Agent 和扩展程序
- Java反射的作用
- 读取文件中的数据出错,不知道哪里有问题
- 移动硬盘丢失的数据还能找回吗
- 深入理解JVM(一)------基本结构
- sed 这个学起来比较容易
- 通过VM Agent为虚机重置密码
- Androidpn Client端连接Server时 java.security.KeyStoreException 异常
- 让网页设计有规律可循
- IOS 开发 事件截断处理
- 清明柳枝亭子小桥flash动画素材
- perl内置变量速查表
- 怎样学好java?
- Android view的绘制流程(三)
- 分享 Android X86 4.4遇到的问题和感想