Update Set-PicToADUser-SchedulerTask.ps1

fix some bugs