Hi,
In addition, for script issue, I suggest discussing it in our MSDN forum. They are the best resource to troubleshoot this issue.
https://social.msdn.microsoft.com/Forums/en-US/home
Thank you for understanding.
Best Regards,
Tao
Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.