Hello all. I ran the script below. the goal was to locate all windows XP machines across the enterprise. The script found no Windows XP machines. However, Qualys and NMAP have proven that there are XP machines in the enterprise. any one have any idea how this script missed them? We know the XP devices are in the domain. We verified by remoting to some of the XP machines.
Get-ADComputer -Filter * -Properties OperatingSystem,LastLogonDate | select Name, OperatingSystem, LastLogonDate | sort LastLogonDate -unique | Export-Csv c:\work\computers.csv
Any help is appreciated.