Microsoft/Windows Platform
wmic를 이용한 사용자 계정 정보 확인
リュちゃん
2011. 7. 1. 13:23
Wmic useraccount get name 명령어를 이용하면 user account를 export 할 수 있습니다.
C:\Users\Administrator>wmic useraccount /?
USERACCOUNT - User account management.
HINT: BNF for Alias usage.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
USERACCOUNT ASSOC [<format specifier>]
USERACCOUNT CALL <method name> [<actual param list>]
USERACCOUNT CREATE <assign list>
USERACCOUNT DELETE
USERACCOUNT GET [<property list>] [<get switches>]
USERACCOUNT LIST [<list format>] [<list switches>]
USERACCOUNT SET [<assign list>]