Powershell functional, needs to update LastSync.txt