How to retrieve information about all user profiles on the system with PowerShell
- Retrieves information about all user profiles on the system.
- Filters out system accounts and profiles with no home directory.
- Sorts the profiles based on the last logon time.
- Outputs the results to a CSV file.