码迷,mamicode.com
首页 > 其他好文 > 详细

Search-ADaccount

时间:2016-09-27 13:13:41      阅读:208      评论:0      收藏:0      [点我收藏+]

标签:

查询被锁定用户

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

标签:

原文地址:http://www.cnblogs.com/dreamer-fish/p/5912382.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!