I am looking to run a PowerShell report against Active Directory to find all Windows 7 pcs that have logged on in the past 90 days.
I often use this report with Quest to cleanup AD and this is the exact detail I'm looking for in order to find active Windows 7 pcs which I can then easily filter through for audit.
Get-QADComputer -InactiveFor 90 | export-csv -path c:\deadclients.csv
Can anyone tell me how I can modify this command?
I was able to use the script from this site to Find Windows XP Computers Still Alive in Your Active Directory Domain and modified it to Windows 7.
Within Excel I then filtered the computers by the Last Logon Timestamp.