Skip to content
生活在宁静的角落

生活在宁静的角落

  • Home
  • Linux
    • Nagios
  • Windows
    • Powershell
    • AD Domain
  • Virtual
  • Applications
    • django
    • Python
  • Storage
  • Network
  • Security
  • Work
  • Life
    • English
    • Download

PS快速解锁AD 账号

2020年4月26日2019年5月5日 by 加班不给钱

查找账号: get-aduser -f {name -like ‘*santa*’} | format-list name,samaccountname

 

1.查询账号是否被锁定

Get-ADUser sean.shen -Properties * | Select-Object lockedout

2. 解锁账号

Unlock-ADAccount -Identity sean.shen

Categories Powershell, Windows Tags powershell
MDT 客户端载入镜像出错
Openpyxl 格式xls文件

近期文章

  • nginx 文件服务器美化
  • Grafana 连接Zabbix 报错
  • Centos8 升级到Centos stream
  • MySql 允许用户远程登录
  • Windows 10 自带VPN 拨号 飞塔防火墙
2023年 12月
一 二 三 四 五 六 日
 123
45678910
11121314151617
18192021222324
25262728293031
« 11月    

  • 104
  • 66
  • 1,569
  • 7,164
  • 152,209
  • 152,581
  • 39,174
  • 6
  • 236
  • 2023年11月28日
登录
© 2023 生活在宁静的角落 • 工业和信息化部备案管理系统网站 沪ICP备14021346号-1