TryHackMe: Active Directory Basics
This is a write up for the Hands-On Lab task of the Active Directory Basics room on TryHackMe. Some tasks have been omitted as they do not require an answer.
What is the name of the Windows 10 operating system?
Get-NetComputer -fulldata | select operatingsystem
Answer: Windows 10 Enterprise Evaluation
What is the second “Admin” name?
Get-NetUser | select cn
Answer: Admin 2
Which group has a capital “V” in the group name?
Get-NetGroup -GroupName *V*
Answer: Hyper-V Administrators
When was the password last set for the SQLService user?
Get-NetUser -SPN | ?{$_.memberof -match 'Domain Admins'}
Answer: 5/13/2020 8:26:58 PM
Recap
In this task we learnt how to:
- Conduct basic queries on Active Directory