Office 365 IT Professional——利用PowerShell设置Reset Password
2015-08-26 11:21
721 查看
管理员可以通过如下命令修改该用户的Password,但需要注意,管理员所输入的Password是临时的,该用户再次登录Office365时,需要更改Password。
Set-MsolUserPassword –UserPrincipalName “userprincipalname”–NewPassword “newpassword”
以 ShelleyLiu0415@AvePointCC.OnMicrosoft.com 为例,将其Password进行修改,具体步骤如下:
1. 用Administrator打开Azure ActiveDirectory Module for Windows PowerShell这个工具,输入如下命令,链接Online Service:
import-modulemsonline
$cred=get-credential
Connect-msolservice–credential $cred
2. 根据需求,输入如下命令:
Set-MsolUserPassword–UserPrincipalName “ShelleyLiu0415@AvePointCC.OnMicrosoft.com” –NewPassword “2wsx3edcR”,如下图所示:
3. 用户登录Office 365后,需重新设置Password,此处管理员设置的密码为临时密码。
Set-MsolUserPassword –UserPrincipalName “userprincipalname”–NewPassword “newpassword”
以 ShelleyLiu0415@AvePointCC.OnMicrosoft.com 为例,将其Password进行修改,具体步骤如下:
1. 用Administrator打开Azure ActiveDirectory Module for Windows PowerShell这个工具,输入如下命令,链接Online Service:
import-modulemsonline
$cred=get-credential
Connect-msolservice–credential $cred
2. 根据需求,输入如下命令:
Set-MsolUserPassword–UserPrincipalName “ShelleyLiu0415@AvePointCC.OnMicrosoft.com” –NewPassword “2wsx3edcR”,如下图所示:
3. 用户登录Office 365后,需重新设置Password,此处管理员设置的密码为临时密码。
相关文章推荐
- shell test用法
- 用shell脚本批量修改文件后缀名
- nginx下日志切割的shell
- UCI提供给shell和lua使用的配置接口
- ssh 登陆进去后, .bashrc 也没有被执行
- 用shell 批量处理任务
- 《C算法》读书笔记8:shell sort
- 8-23 linux文件管理常用命令和Bash特性
- linux下bash特性和基础管理类命令(一)
- shell-流程控制while/until
- 采用adb shell 调试 Android 串口
- shell 新学命令整理
- shell 括号用法介绍
- shell基础之二:条件判断语句if、case及read命令,
- linux Web服务程序监控shell脚本
- c语言执行shell命令
- Bash基础(2) 通配符 组合键 数据重定向 管道 tee
- 希尔排序-ShellSort
- ubuntu select /bin/bash or /bin/dash
- Freesshd配合xshell实现sftp上传