Need to update powershell script to save user info

the old script is out of date. crashes