zoukankan      html  css  js  c++  java
  • Search-ADaccount

    查询被锁定用户

    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
  • 相关阅读:
    不容易系列之(3)—— LELE的RPG难题(递推)
    亲和数(因子和)
    爬虫正式学习day2
    爬虫小练习:堆糖图片抓取--爬虫正式学习day1
    js笔记--高阶函数array的各种函数
    js笔记--高阶函数sort()
    js笔记--高阶函数filter()
    js笔记--高阶函数map() reduce()
    js笔记--方法
    js笔记--变量部分
  • 原文地址:https://www.cnblogs.com/dreamer-fish/p/5912382.html
Copyright © 2011-2022 走看看