An additional Problem just occured...

I used another Location for $serverloc because i only get access to the netlogon if there are no errors, and the script is not working, it even blocked me out from making any further exchange account (either via outlook or in the system controls) can anyone help me here?