UserAccount.vbs Syntax
Open command prompt now.
UserAccount.vbs [/D domain] [/N username] [/L] [/B] [/S server] [/U username] [/W password] [/O outputfile]
Where:
- /D domain
- filters by the domain specified in domain.
- /U username
- filters by the user specified in username.
- /L
- filters by locked out accounts.
- /B
- filters by disabled accounts.
- server
- is a computer name.
- outputfile
- is the output file name.
- username and password
- are the user name and password of the current user.

Note:y
This script may run slowly on large networks and WANS. If necessary use one of the filter switches.