Forewarn
Same Story.
No Slumber for the wicked and lazy.
WMI
WMIC
WMIC – ALIAS
WMIC – ALIAS – USERACCOUNT
Syntax
wmic useraccount
Sample – Query – Base
wmic useraccount
Sample – Query – Filter ( 1 )
wmic useraccount " where name like '%joe%' "
Output – Textual
>wmic useraccount " where name like '%joe%' " 'PWhere' expression for the alias undefined. >
Output – Image
Explanation
- Output
- System Output
- Expression for the alias undefined
- Meaning
- Syntax Error
- System Output
Sample – Query – Filter ( 2 )
wmic useraccount " where name like '%joe%' "
Output – Textual
>wmic useraccount where "name like '%joe%' " No Instance(s) Available.
Output – Image
Explanation
- Output
- System Output
- No Instance(s) Available
- Meaning
- No Error
- Just no principal bearing the username “Joe“
- System Output
Summary
Computers are kind of funny.
There is an Island between:-
- wmic useraccount ” where name like ‘%joe%’ “
- wmic useraccount where ” name like ‘%joe%’ “