Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
check_commands:check_win_users [2019/01/12 13:34]
Robbie Ferguson created
check_commands:check_win_users [2019/02/04 11:35] (current)
Line 24: Line 24:
 ====Example Queries==== ====Example Queries====
  
-  * List all users: status like '​%'​ +  * List all users: ​<​code>​status like '​%'​</​code>​ 
-  * Show users where the Status is OK: status='​OK'​ +  * Show users where the Status is OK: <​code>​status='​OK'​</​code>​ 
-  * Show usernames that contains the string "​EX":​ name like '​%EX%'​ +  * Show usernames that contains the string "​EX": ​<​code>​name like '​%EX%'​</​code>​ 
-  * Show usernames that start with the string "​Admin":​ name like '​Admin%'​ +  * Show usernames that start with the string "​Admin": ​<​code>​name like '​Admin%'​</​code>​ 
-  * Show usernames that end with the string "​test":​ name like '​%test'​ +  * Show usernames that end with the string "​test": ​<​code>​name like '​%test'​</​code>​ 
-  * Show users whose full name contains the String "​Exchange":​ fullname like '​%Exchange%'​ +  * Show users whose full name contains the String "​Exchange": ​<​code>​fullname like '​%Exchange%'​</​code>​ 
-  * Show users that belong to the Domain called "​TEST":​ Domain='​TEST'​ +  * Show users that belong to the Domain called "​TEST": ​<​code>​Domain='​TEST'​</​code>​ 
-  * Show users where a password is not required: PasswordRequired!='​True'​ +  * Show users where a password is not required: ​<​code>​PasswordRequired!='​True'​</​code>​ 
-  * Show users that belong to the Domain called "​TEST"​ and that where a password is not required: PasswordRequired!='​True'​ AND Domain='​TEST'​ +  * Show users that belong to the Domain called "​TEST"​ and that where a password is not required: ​<​code>​PasswordRequired!='​True'​ AND Domain='​TEST'​</​code>​ 
-  * Show users that do not belong to the Domain called "​TEST":​ Domain!='​TEST'​ +  * Show users that do not belong to the Domain called "​TEST": ​<​code>​Domain!='​TEST'​</​code>​ 
-  * Show users that have local accounts: LocalAccount='​True'​+  * Show users that have local accounts: ​<​code>​LocalAccount='​True'​</​code>​
  • check_commands/check_win_users.txt
  • Last modified: 2019/02/04 11:35
  • (external edit)