Yeah it does return an 'Old' username on occations, i.e.

- Created username 'Eamonn'
- Renamed 'Eamonn' to 'Home'
- Script still returns 'Eamonn'

This is infact an issue with Windows (obviously), Enabling/Disabling the Guest account seemed to refresh it for me though.

Eamonn.