查询被锁定用户

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

Search-ADaccount的更多相关文章

  1. [数据结构]——二叉树(Binary Tree)、二叉搜索树(Binary Search Tree)及其衍生算法

    二叉树(Binary Tree)是最简单的树形数据结构,然而却十分精妙.其衍生出各种算法,以致于占据了数据结构的半壁江山.STL中大名顶顶的关联容器--集合(set).映射(map)便是使用二叉树实现 ...

  2. Leetcode 笔记 99 - Recover Binary Search Tree

    题目链接:Recover Binary Search Tree | LeetCode OJ Two elements of a binary search tree (BST) are swapped ...

  3. Leetcode 笔记 98 - Validate Binary Search Tree

    题目链接:Validate Binary Search Tree | LeetCode OJ Given a binary tree, determine if it is a valid binar ...

  4. 基于WebGL 的3D呈现A* Search Algorithm

    http://www.hightopo.com/demo/astar/astar.html 最近搞个游戏遇到最短路径的常规游戏问题,一时起兴基于HT for Web写了个A*算法的WebGL 3D呈现 ...

  5. Leetcode: Convert sorted list to binary search tree (No. 109)

    Sept. 22, 2015 学一道算法题, 经常回顾一下. 第二次重温, 决定增加一些图片, 帮助自己记忆. 在网上找他人的资料, 不如自己动手. 把从底向上树的算法搞通俗一些. 先做一个例子: 9 ...

  6. [LeetCode] Closest Binary Search Tree Value II 最近的二分搜索树的值之二

    Given a non-empty binary search tree and a target value, find k values in the BST that are closest t ...

  7. [LeetCode] Closest Binary Search Tree Value 最近的二分搜索树的值

    Given a non-empty binary search tree and a target value, find the value in the BST that is closest t ...

  8. [LeetCode] Verify Preorder Sequence in Binary Search Tree 验证二叉搜索树的先序序列

    Given an array of numbers, verify whether it is the correct preorder traversal sequence of a binary ...

  9. [LeetCode] Search a 2D Matrix II 搜索一个二维矩阵之二

    Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the follo ...

  10. [LeetCode] Lowest Common Ancestor of a Binary Search Tree 二叉搜索树的最小共同父节点

    Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BS ...

随机推荐

  1. vb.net加密解密方法

    1.vb.net加密解密方法 Private Function getLicenseDate() As String Dim b() As Byte Dim path As String = Serv ...

  2. Qt 无法解析外部文件2001,2019之类的

    一般是部分代码出错,比如构造函数的实参没有对应或者设置好: 还有尝试删除debug生成的文件试试,清理当前项目->重新构建: 以及看下有没有变量没有初始化或者变量定义的时候父类错了等. 以及其他 ...

  3. Java集合的运算之减法A-B

    import com.sun.media.sound.SoftSynthesizer; import java.util.*;   public class a123 { public static ...

  4. lua 入门学习

    -- 1.Hello world print( "--------------1--------------") print("Hello world"); - ...

  5. FreeMarker与Spring MVC的结合应用

    Freemarker是一种基于java的模板引擎.SpringMVC对FreeMarker进行一些配置的支持,能够利用Freemarker只关注表现层以及Spring MVC的三层分离的特点,向前端输 ...

  6. MacOS 10.8更新SVN到1.8.4的问题和解决方法

    因为要导入以前的项目,但以前项目里内含有的svn信息,所以xcode默认安装的svn1.6是无法删除svn信息,据说需要svn1.7才能清除掉svn信息.所以必须要升级svn的版本. 我在网上找了各种 ...

  7. DIV与SPAN的区别

    DIV 和 SPAN 元素最大的特点是默认都没有对元素内的对象进行任何格式化渲染.主要用于应用样式表(共同点). 两者最明显的区别在于DIV是块元素,而SPAN是行内元素(也译作内嵌元素). 详解:1 ...

  8. 【基础知识】.Net基础加强07 天

    一. 自定义泛型 1. 泛型的目的:提高代码的复用性. 2. T:一般叫做“类型参数”,把数据类型作为参数传递 .一般用T类表示或者以大写T开头的比如:TKey,TValue.TOutput.TRes ...

  9. Xamarin.Android之动画

    Translate动画 这个动画是最常使用到的,主要就是将控件从一个位置移动到另一个位置,并且还可以在这其中增加一定的效果,下面我们将采用两种方式实现动画,首选的是利用XML来制作动画,其次就是利用代 ...

  10. C#设计模式总结

    一.引言 经过这段时间对设计模式的学习,自己的感触还是很多的,因为我现在在写代码的时候,经常会想想这里能不能用什么设计模式来进行重构.所以,学完设计模式之后,感觉它会慢慢地影响到你写代码的思维方式.这 ...