Thanks for sharing the useful and helpful command, I tried this automate tool ( https://blog.netwrix.com/2018/02/15/the-ten-best-free-active-directory-management-tools/ ) which provides the automate facilitate to disable old computer accounts that have not logged on within x number of days and generate the complete report which are based on old or used user and computer accounts.
we use a query with the active roles command applets.
ReplyDeleteIt shows the password age and last boot time.
The boot time is replicated for domain controllers 2003 and up.
i use this commmand line:
Get-QADComputer -SearchRoot "Domain/computers" -IncludedProperties pwdLastSet, LastLogon -SizeLimit 0 | where { $_.pwdLastSet -le $old }| sort pwdlastset | ft name,pwdlastset,LastLogon -auto
This comment has been removed by the author.
ReplyDeleteThanks for sharing the useful and helpful command, I tried this automate tool ( https://blog.netwrix.com/2018/02/15/the-ten-best-free-active-directory-management-tools/ ) which provides the automate facilitate to disable old computer accounts that have not logged on within x number of days and generate the complete report which are based on old or used user and computer accounts.
ReplyDelete