Forum Discussion
ZAHID_HASEEB
Aug 10, 2024Copper Contributor
Get command status from Active Directory Domain machines
We need to get the status of few commands from a domain environment of around 400 machines. All may be windows 10 and windows 11 machines. Need to run this activity couple of times in a day. This...
kyazaferr
Nov 13, 2024MCT
Detailed Explanation:
- Windows Update Status: The script checks the installed hotfixes/updates using Win32_QuickFixEngineering. If needed, you can also query Get-HotFix or other methods for specific update details.
- BitLocker Status: The Get-BitLockerVolume cmdlet will give you information about the encryption status and method on the system drive (usually C:).
- Local Admin Users: The script checks the Administrators group using Get-LocalGroupMember and counts the number of members. You could further filter for specific users if needed.
- LAPS Installation Check: The script checks if LAPS is installed by verifying the presence of the Get-AdmPwdPassword cmdlet, which is part of the LAPS installation