Query to find all LAPS passwords: ```` Get-ADComputer -filter {ms-mcs-admpwdexpirationtime -like '*'} -Properties 'ms-mcs-admpwd','ms-mcs-admpwdexpirationtime' | select dnshostname,ms-mcs-admpwd ```` * Also talk about the Get-LAPSPasswords thing (https://www.netspi.com/blog/technical/network-penetration-testing/running-laps-around-cleartext-passwords/) * And this (git clone https://github.com/n00py/LAPSDumper.git)
Query to find all LAPS passwords: