查询被锁定用户

Search-ADAccount -LockedOut | FT Name,ObjectClass -A

Search-ADAccount

Search-ADAccount

Gets Active Directory user, computer, or service accounts.

Syntax

 
 
Search-ADAccount -AccountDisabled <switch> [-AuthType {<Negotiate> | <Basic>}] [-ComputersOnly <switch>] [-Credential <PSCredential>] [-ResultPageSize <int>] [-ResultSetSize <System.Nullable[int]>] [-SearchBase <string>] [-SearchScope {<Base> | <OneLevel> | <Subtree>}] [-Server <string>] [-UsersOnly <switch>] [<CommonParameters>]
  • AccountDisabled
  • AuthType
  • ComputersOnly
  • Credential
  • ResultPageSize
  • ResultSetSize
  • SearchBase
  • SearchScope
  • Server
  • UsersOnly
 
 
Search-ADAccount -AccountExpired <switch> [-AuthType {<Negotiate> | <Basic>}] [-ComputersOnly <switch>] [-Credential <PSCredential>] [-ResultPageSize <int>] [-ResultSetSize <System.Nullable[int]>] [-SearchBase <string>] [-SearchScope {<Base> | <OneLevel> | <Subtree>}] [-Server <string>] [-UsersOnly <switch>] [<CommonParameters>]
  • AccountExpired
  • AuthType
  • ComputersOnly
  • Credential
  • ResultPageSize
  • ResultSetSize
  • SearchBase
  • SearchScope
  • Server
  • UsersOnly
 
 
Search-ADAccount -AccountExpiring <switch> [-DateTime <DateTime>] [-TimeSpan <TimeSpan>] [-AuthType {<Negotiate> | <Basic>}] [-ComputersOnly <switch>] [-Credential <PSCredential>] [-ResultPageSize <int>] [-ResultSetSize <System.Nullable[int]>] [-SearchBase <string>] [-SearchScope {<Base> | <OneLevel> | <Subtree>}] [-Server <string>] [-UsersOnly <switch>] [<CommonParameters>]
  • AccountExpiring
  • DateTime
  • TimeSpan
  • AuthType
  • ComputersOnly
  • Credential
  • ResultPageSize
  • ResultSetSize
  • SearchBase
  • SearchScope
  • Server
  • UsersOnly
 
 
Search-ADAccount -AccountInactive <switch> [-DateTime <DateTime>] [-TimeSpan <TimeSpan>] [-AuthType {<Negotiate> | <Basic>}] [-ComputersOnly <switch>] [-Credential <PSCredential>] [-ResultPageSize <int>] [-ResultSetSize <System.Nullable[int]>] [-SearchBase <string>] [-SearchScope {<Base> | <OneLevel> | <Subtree>}] [-Server <string>] [-UsersOnly <switch>] [<CommonParameters>]
  • AccountInactive
  • DateTime
  • TimeSpan
  • AuthType
  • ComputersOnly
  • Credential
  • ResultPageSize
  • ResultSetSize
  • SearchBase
  • SearchScope
  • Server
  • UsersOnly
 
 
Search-ADAccount -LockedOut [-AuthType {<Negotiate> | <Basic>}] [-ComputersOnly <switch>] [-Credential <PSCredential>] [-ResultPageSize <int>] [-ResultSetSize <System.Nullable[int]>] [-SearchBase <string>] [-SearchScope {<Base> | <OneLevel> | <Subtree>}] [-Server <string>] [-UsersOnly <switch>] [<CommonParameters>]
  • LockedOut
  • AuthType
  • ComputersOnly
  • Credential
  • ResultPageSize
  • ResultSetSize
  • SearchBase
  • SearchScope
  • Server
  • UsersOnly
 
 
Search-ADAccount -PasswordExpired <switch> [-AuthType {<Negotiate> | <Basic>}] [-ComputersOnly <switch>] [-Credential <PSCredential>] [-ResultPageSize <int>] [-ResultSetSize <System.Nullable[int]>] [-SearchBase <string>] [-SearchScope {<Base> | <OneLevel> | <Subtree>}] [-Server <string>] [-UsersOnly <switch>] [<CommonParameters>]
  • PasswordExpired
  • AuthType
  • ComputersOnly
  • Credential
  • ResultPageSize
  • ResultSetSize
  • SearchBase
  • SearchScope
  • Server
  • UsersOnly
 
 
Search-ADAccount -PasswordNeverExpires <switch> [-AuthType {<Negotiate> | <Basic>}] [-ComputersOnly <switch>] [-Credential <PSCredential>] [-ResultPageSize <int>] [-ResultSetSize <System.Nullable[int]>] [-SearchBase <string>] [-SearchScope {<Base> | <OneLevel> | <Subtree>}] [-Server <string>] [-UsersOnly <switch>] [<CommonParameters>]
  • PasswordNeverExpires
  • AuthType
  • ComputersOnly
  • Credential
  • ResultPageSize
  • ResultSetSize
  • SearchBase
  • SearchScope
  • Server
  • UsersOnly

最新文章

  1. Hibernate —— 映射关联关系(附录)
  2. Maven更新子模块的版本号
  3. Java中this关键字的使用
  4. C#学习笔记8:HTML和CSS基础学习笔记
  5. VS2010皮肤控件介绍
  6. [React] Intro to inline styles in React components
  7. 二套小清新(APP界面)
  8. Oracle的汉字转拼音首字母的函数
  9. LNMP一键安装结果
  10. 转:MVC Html.AntiForgeryToken() 防止CSRF攻击
  11. 重写Fields 控制models 数据输出字段
  12. mysql的存储过程,函数,事件,权限,触发器,事务,锁,视图,导入导出
  13. Masonry中的mas_makeConstraints方法
  14. #Leetcode# 997. Find the Town Judge
  15. CSS样式—— 字体、元素的垂直水平居中
  16. pyqt4手动编写资源文件
  17. 理解Golang包导入
  18. 【hdu3709】 Balanced Number
  19. Unity即将内置骨骼动画插件Anima2D
  20. java总结(1)——java的特点

热门文章

  1. iOS 16进制字符串转换成int十进制
  2. Add sharing to your app via UIActivityViewController
  3. 开始学CI
  4. JavaScript-indexOf函数
  5. SQL Server高级性能调优策略
  6. 利用Access-Control-Allow-Origin响应头解决跨域请求
  7. 业务代码中(java class)中如何实现多线程,并且将子线程中的值随方法返回返回值
  8. C++ map使用(基于RBTree)
  9. Maven + 最新SSM整合
  10. Week1 Java 基础知识