Here are a couple of options to identify the SID of a user using DSQUERY command.
Option #1
dsquery user -samid 11111| dsget user –sid
Option #2
dsquery * -Filter "(SamAccountName=11111)" -Attr objectSID
Note: You can use “dsquery computer” command to get the SID of a computer.
4 comments:
Can you reverse that and get user info from a SID
Sure.
Dsquery * -Filter "(ObjectSID=S-1-1-1-1)" -Attr Name samAccountName
Here on this website it gives free advice of windows shortcut keys.windows shortcut keys list It gives all the information about windows shortcut keys.
Look how they done it here https://assignment-helpers.com/blog/how-to-make-money-while-traveling and enjoy!
Post a Comment